Add tags and counts to ReactSelect story
[MAILPOET-2772]
This commit is contained in:
@@ -11,9 +11,26 @@ export default {
|
|||||||
|
|
||||||
export const ReactSelect = () => {
|
export const ReactSelect = () => {
|
||||||
const options = [
|
const options = [
|
||||||
{ value: 'chocolate', label: 'Chocolate' },
|
{
|
||||||
{ value: 'strawberry', label: 'Strawberry' },
|
value: 'chocolate',
|
||||||
{ value: 'vanilla', label: 'Vanilla' },
|
label: 'Chocolate',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'strawberry',
|
||||||
|
label: 'Strawberry',
|
||||||
|
tag: 'Category',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'vanilla',
|
||||||
|
label: 'Vanilla',
|
||||||
|
count: 13,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'long',
|
||||||
|
label: 'Very very very very very very very very very very very very long option',
|
||||||
|
tag: 'long',
|
||||||
|
count: 1234,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user