Skip to content

Commit

Permalink
feat: add story for counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Feb 29, 2024
1 parent 455379a commit 399c8a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/Select/__stories__/SelectShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,24 @@ export const SelectShowcase = (props: SelectProps) => {
<Select.Option value="val3" content="Value3" />
<Select.Option value="val4" content="Value4" />
</ExampleItem>
<ExampleItem
title="Select with selected items count"
selectProps={{
...props,
multiple: true,
hasCounter: true,
}}
>
<Select.Option value="val1" content="Value1" />
<Select.Option value="val2" content="Value2" />
<Select.Option value="val3" content="Value3" />
<Select.Option value="val4" content="Value4" />
<Select.Option value="val5" content="Value5" />
<Select.Option value="val6" content="Value6" />
<Select.Option value="val7" content="Value7" />
<Select.Option value="val8" content="Value8" />
<Select.Option value="val9" content="Value9" />
</ExampleItem>
</div>
);
};

0 comments on commit 399c8a3

Please sign in to comment.