@novem-ui/checkbox
v0.0.2-alpha.5
Published
Checkbox component from novem-ui
Downloads
6
Readme
@novem-ui/checkbox
Usage
<Checkbox />
The component has the following props, plus SpacingProps and all the expected props from the native <input type="checkbox" />
:
baseColor
(Optional): It can be any color from the theme, usesorange
by default.
import { Checkbox, ThemeProvider } from '@novem-ui/core'
// or
import Checkbox from '@novem-ui/checkbox'
import { ThemeProvider } from '@novem-ui/theme'
function App() {
return (
<ThemeProvider>
<Checkbox selected>
</ThemeProvider>
)
}