Skip to content

Commit

Permalink
Fix getDefaultPropsValue and getPropsTableData
Browse files Browse the repository at this point in the history
function parameters
  • Loading branch information
mhnpd committed Dec 18, 2023
1 parent a7e23af commit 44ea621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const defaultPropsTypes = {
strokeColor: 'string',
}

export const getDefaultPropsValue = (componentName)=>({
export const getDefaultPropsValue = (componentName:string)=>({
height: '80',
width: '80',
color: `#4fa94d`,
Expand All @@ -36,7 +36,7 @@ export const getDefaultPropsValue = (componentName)=>({
visible: 'true',
})

export const getPropsTableData = (componentName, excluded=[])=>{
export const getPropsTableData = (componentName:string, excluded=[])=>{
return [
{
name: 'height',
Expand Down

0 comments on commit 44ea621

Please sign in to comment.