Skip to content

Commit

Permalink
examples added for array of objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Saajan committed Oct 16, 2019
1 parent 16d7c44 commit 4ccf091
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stories/0-List.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export const Search = () => (
);


export const ObjectSearch = () => (
export const ArrayOfObjectsMultiple = () => (
<List items={objectData} selected={[2, 4, 6]} multiple={true} />
);

export const ArrayOfObjectSearch = () => (
<List items={objectData} selected={[3]} search={true}/>
);

0 comments on commit 4ccf091

Please sign in to comment.