This repository provides some extra components based on Carbon Components React.
npm install -S carbon-components-react carbon-components carbon-icons carbon-components-react-extras
SimpleTable provides the following features:
-
Searching. You can enable/Disable Searching capacibility at table level or cell level.
-
Sorting. You can enable/Disable Sorting capacibility at table level or cell level. Sorting types are: text(default),number,component. When using component type, it requires to add a "shadow" value for that column.
-
Error display. The Notification component is integrated in this component. You can pass in a "error" object to display error message.
-
Loading icon. The property "isLoading" is used to display/hide Loading icon.
React Storybook is included, so you can pull the code and start the StoryBook server to look at the examples.
$ npm run storybook