File tree Expand file tree Collapse file tree
content/components/dropdown Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ const require = createRequire(import.meta.url);
1212const getParser = ( ) => {
1313 return withCustomConfig (
1414 require . resolve (
15- path . join ( process . cwd ( ) , '../../packages/react/tsconfig.json' ) ,
15+ path . join ( process . cwd ( ) , '../../packages/react/tsconfig.lib. json' ) ,
1616 ) ,
1717 {
1818 savePropValueAsString : true ,
1919 shouldExtractLiteralValuesFromEnum : true ,
2020 shouldRemoveUndefinedFromOptional : true ,
21+ shouldExtractValuesFromUnion : true ,
2122 propFilter : ( prop : PropItem ) => {
2223 const defaultLogicFromStorybook = prop . parent
2324 ? ! / n o d e _ m o d u l e s / . test ( prop . parent . fileName )
@@ -26,6 +27,7 @@ const getParser = () => {
2627 defaultLogicFromStorybook &&
2728 prop . name !== 'popovertarget' &&
2829 prop . name !== 'data-color' &&
30+ prop . name !== 'data-color-scheme' &&
2931 prop . name !== 'data-size'
3032 ) ;
3133 } ,
Original file line number Diff line number Diff line change 11<Story story = " Preview" />
22<ReactComponentDocs />
3- See [ Popover] ( /en/components/docs/popover/code ) for props.
43
54## Usage
65
Original file line number Diff line number Diff line change 11<Story story = " Preview" />
22<ReactComponentDocs />
3- Se [ Popover] ( /no/components/docs/popover/code ) for props.
43
54## Bruk
65
You can’t perform that action at this time.
0 commit comments