test-ui-lib
v0.0.4
Published
React UI component lib
Readme
test-ui-lib
React UI component lib
Install
yarn add test-ui-libUsage
import * as React from 'react';
import { MyComponent } from 'test-ui-lib';
class Example extends React.Component {
render() {
return <MyComponent meaningOfLife={42} />;
}
}Default theme
const myTheme = {
borderRadius: '5px',
colors: {
primary: 'green',
secondary: 'blue',
},
};License
MIT © martinmcneela
Todo
- [x] Remove PropTypes
- [x] Update all relevant packages
- [x] Add styled-components
- [ ] Try to import as a private repo to app (https://help.github.com/en/github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages)
- [x] Add eslint
- [x] Add prettier
- [x] Add stylelint
- [x] Add husky
- [x] Add storybook (with knobs, actions, viewport, story source, docgen...etc... - https://storybook.js.org/docs/addons/addon-gallery/)
- [ ] Add testing setup
- ~~[ ] Add styled-theming (https://github.com/styled-components/styled-theming), not essential~~
- [ ] Get gh-pages working (with storybook)
- [ ] Setup git merging/workflow rules
- [ ] Storybook Storyshots
- [ ] Storybook Docs
- [ ] Storybook knobs
