-
ChipsArray
renders an Array of Deletable chips -
& takes following props:
-
Data
, -
onDelete()
:handleDelete = deleteThis => () => { const data = [...this.state.data].filter(ele => ele !== deleteThis); this.setState({ data }); };
-
dataEmptyMsg
: Msg to be shown when data is empty -
clone ->
yarn install
->yarn start
-
project was bootstrapped with Create React App and created using www.codesandbox.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Created with CodeSandbox
razi-ed/deletable-chips-array
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Created with CodeSandbox
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published