Skip to content

Commit

Permalink
FIX Replace 4 space indent with 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sabina-talipova committed Jun 12, 2023
1 parent 47f86a6 commit a2b1a82
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions client/src/components/tests/TagField-story.js
Expand Up @@ -2,40 +2,40 @@ import React from 'react';
import TagField from 'components/TagField';

export default {
title: 'TagField/TagField',
title: 'TagField/TagField',

decorators: [
(storyFn) => (
<div style={{ width: '250px' }} className="ss-tag-field">
{storyFn()}
</div>
),
],
decorators: [
(storyFn) => (
<div style={{ width: '250px' }} className="ss-tag-field">
{storyFn()}
</div>
),
],
};

export const SimpleExample = () => (
<TagField
name="test"
options={[
{ Title: 'One', Value: 1 },
{ Title: 'Two', Value: 2 },
{ Title: 'Three', Value: 3 },
{ Title: 'Four', Value: 4 },
{ Title: 'Five', Value: 5 },
]}
/>
<TagField
name="test"
options={[
{ Title: 'One', Value: 1 },
{ Title: 'Two', Value: 2 },
{ Title: 'Three', Value: 3 },
{ Title: 'Four', Value: 4 },
{ Title: 'Five', Value: 5 },
]}
/>
);

export const MultipleSelection = () => (
<TagField
name="test"
multi
options={[
{ Title: 'One', Value: 1 },
{ Title: 'Two', Value: 2 },
{ Title: 'Three', Value: 3 },
{ Title: 'Four', Value: 4 },
{ Title: 'Five', Value: 5 },
]}
/>
<TagField
name="test"
multi
options={[
{ Title: 'One', Value: 1 },
{ Title: 'Two', Value: 2 },
{ Title: 'Three', Value: 3 },
{ Title: 'Four', Value: 4 },
{ Title: 'Five', Value: 5 },
]}
/>
);

0 comments on commit a2b1a82

Please sign in to comment.