0.0.2-alpha.5 • Published 2 years ago
@novem-ui/button v0.0.2-alpha.5
@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>
)
}
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