@novem-ui/button
v0.0.2-alpha.5
Published
Button component from novem-ui
Downloads
5
Readme
@novem-ui/button
Usage
<Button />
The component has the following props, plus SpacingProps and all the expected props from the native :
baseColor
(Optional): It can be any color from the theme, usesorange
by default.size
(Optional): It can besm
orlg
, useslg
by default.hierarchy
(Optional): It can beloud
,quiet
, orlink
, usesloud
by default.
import { Button, ThemeProvider } from '@novem-ui/core'
// or
import { Button } from '@novem-ui/button'
import { ThemeProvider } from '@novem-ui/theme'
function App() {
return (
<ThemeProvider>
<Button>
Example button
</Badge>
</ThemeProvider>
)
}