twreporter-react-bookmarks-components
Install
Need Peer Dependencies: lodash
, react
, styled-components
Use NPM:
npm install twreporter-react-bookmarks-components --save
Use Yarn:
yarn add twreporter-react-bookmarks-components --save
Use
ES6:
import Bookmark from 'twreporter-react-bookmarks-components/lib/components/bookmark'
import Pagination from 'twreporter-react-bookmarks-components/lib/components/pagination'
Developement
Source code
- For this package:
/bookmarks-components/src/
- Shared by all packages under
twreporter-react-components
: /shared/
gulp.watch
Automatically rebuild while files change.
cd twreporter-react-components/bookmarks-components
npm run dev
Pubish
cd twreporter-react-components/bookmarks-components
yarn publish
cd twreporter-react-components/bookmarks-components
npm run publish