1.0.4 • Published 3 years ago
goshaba-ui v1.0.4
Getting Started
- Installation.
npm i --save goshaba-ui
- Required: Import StylesProvider, ThemeProvider and GlobalStyle in App.js.
import { StylesProvider } from "@material-ui/core";
import {ThemeProvider, GlobalStyle} from 'goshaba-ui-v2'
.
.
.
<StylesProvider injectFirst>
<ThemeProvider>
<GlobalStyle/>
// {...your_code_here}
</ThemeProvider>
</StylesProvider>
- How to use it:
- Button
import { Button } from 'goshaba-ui-v2'
const ButtonUseExample = () => {
return <Button onClick={...your_function}>{your_text_here}</Button>
}
export default ButtonUseExample