0.0.2-alpha.5 • Published 2 years ago

@novem-ui/checkbox v0.0.2-alpha.5

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

@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, uses orange 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>
  )
}