devs-react-button
v1.0.0
Published
A react component library that provides flexible access to button component
Downloads
1
Maintainers
Readme
Button
button
Props|Values|Default --|--|--
Usage
import Button from "devs-react-button"
const theme: ThemeTypes = {
palette: {
Blue: {
dark: {
5: '#F2F6FA'
},
},
};
// shadows,
// typography,
// zIndex,
// shape,
// fontSizes,
};
const { Flex } = Components(theme)
const App = () => (
<Flex
justifyContent="center"
bgColor='Blue.dark.5'
// ...other propps if needed
>
This is a div
</Flex>
)