Skip to content

Commit

Permalink
Fix default value bug in getPropsTableData
Browse files Browse the repository at this point in the history
function
  • Loading branch information
mhnpd committed Dec 18, 2023
1 parent 44ea621 commit 682cf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const getDefaultPropsValue = (componentName:string)=>({
visible: 'true',
})

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

0 comments on commit 682cf4b

Please sign in to comment.