0.0.8 • Published 2 years ago

@cebus/react-components v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Components

This the entire suite package of Cebus components.

Use

  1. Install the @cebus/react-components package.

Using NPM

npm install @cebus/react-components

Using Yarn

yarn add @cebus/react-components
  1. Set up the provider in your app:
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-components'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate your components.
import { Provider } from '@cebus/react-provider'
import { webLightTheme, Button } from '@cebus/react-components'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Button>Hello World</Button>
    <Provider>
  )
}