Skip to content

Commit

Permalink
docs: fix prop types (#3654)
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem authored Aug 3, 2023
1 parent 634b228 commit 75b1aaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function convertComponentPropToApiDocs<T extends string>(propName: T, propOption
name: propName,
global: false,
description: '',
type: types.join(' | '),
types: types.join(' | '),
required: !!propOptionsRecord[propName].required,
default: getDefaultValue(propOptionsRecord[propName], types),
} as any
Expand Down

0 comments on commit 75b1aaa

Please sign in to comment.