test-ui-lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

test-ui-lib

React UI component lib

NPM

Install

yarn add test-ui-lib

Usage

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

  • Remove PropTypes
  • Update all relevant packages
  • 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)
  • Add eslint
  • Add prettier
  • Add stylelint
  • Add husky
  • 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

Readme

Keywords

none

Package Sidebar

Install

npm i test-ui-lib

Weekly Downloads

9

Version

0.0.4

License

MIT

Unpacked Size

44.5 kB

Total Files

21

Last publish

Collaborators

  • mcneela86
  • zac-edozo