Skip to content

Commit 1a69bdb

Browse files
authored
docs(Select): add OptionCustom subcomponent (#7012)
1 parent 9748d00 commit 1a69bdb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/main/src/webComponents/Select/Select.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Canvas, Description, Markdown, Meta } from '@storybook/blocks';
22
import { ArgTypesWithNote, ControlsWithNote, DocsHeader, Footer } from '@sb/components';
3-
import { Option } from '../index.ts';
3+
import { Option, OptionCustom } from '../index.ts';
44
import SubcomponentsSection from '@sb/docs/SubcomponentsSection.md?raw';
55
import * as ComponentStories from './Select.stories';
6-
import { excludePropsForAbstract } from '@sb/utils';
76

87
<Meta of={ComponentStories} />
98

10-
<DocsHeader since="0.4.0" />
9+
<DocsHeader since="0.4.0" mergeSubComponents subComponents={['OptionCustom']} />
1110

1211
<br />
1312

@@ -53,6 +52,11 @@ const onChange = (event) => {
5352
## Option
5453

5554
<Description of={Option} />
56-
<ArgTypesWithNote hideHTMLPropsNote exclude={excludePropsForAbstract} of={Option} />
55+
<ArgTypesWithNote of={Option} />
56+
57+
## OptionCustom
58+
59+
<Description of={OptionCustom} />
60+
<ArgTypesWithNote of={OptionCustom} />
5761

5862
<Footer />

0 commit comments

Comments
 (0)