@cebus/react-checkbox
v0.0.5
Published
The Checkbox allows users to toggle a value between an on and off state.
Downloads
18
Readme
Components
This the entire suite package of Cebus components.
Use
- Install the @cebus/react-components package.
Using NPM
npm install @cebus/react-components
Using Yarn
yarn add @cebus/react-components
- 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>
)
}
- 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>
)
}