0.0.2-alpha.5 • Published 2 years ago
@novem-ui/switch v0.0.2-alpha.5
@novem-ui/switch
Usage
<Switch />
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 { Switch, ThemeProvider } from '@novem-ui/core'
// or
import Switch from '@novem-ui/switch'
import { ThemeProvider } from '@novem-ui/theme'
function App() {
return (
<ThemeProvider>
<Switch selected>
</ThemeProvider>
)
}
0.0.2-alpha.5
2 years ago
0.0.2-alpha.4
2 years ago
0.0.2-alpha.3
2 years ago
0.0.2-alpha.2
2 years ago
0.0.2-alpha.1
2 years ago
0.0.2-alpha.0
2 years ago