thecogmel / react-b2components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-b2components

React components by B2bit Company

Installing

Using npm:

$ npm i react-b2components

Using yarn:

$ yarn add react-b2components

Getting Started

In the index.js add the B2Theme component

ReactDOM.render(
  <React.StrictMode>
    <B2Theme theme={myTheme}>
      <App />
    </B2Theme>
  </React.StrictMode>,
  document.getElementById('root')
);

The theme prop is optional

Documentation with storybook

https://630caedb5fbbd30739e104a9-qmonavmjrc.chromatic.com

About

License:MIT License


Languages

Language:TypeScript 97.7%Language:JavaScript 2.3%