Add tags and counts to ReactSelect story

[MAILPOET-2772]
This commit is contained in:
Ján Mikláš
2020-05-13 15:26:02 +02:00
committed by Veljko V
parent 8e9e49f125
commit 41965e71f3

View File

@@ -11,9 +11,26 @@ export default {
export const ReactSelect = () => {
const options = [
{ value: 'chocolate', label: 'Chocolate' },
{ value: 'strawberry', label: 'Strawberry' },
{ value: 'vanilla', label: 'Vanilla' },
{
value: 'chocolate',
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 (