@platformbuilders/react-ui
v0.1.0
Published
Platform Builders Shared Components Library For React Web
Downloads
20
Readme
@platformbuilders/react-ui
Welcome to the @platformbuilders/react-ui package here you will find out all of our components shared with the community
Whats the idea of this repository
Its a place that we can share a little bit of our code base and show how we work on our projects with our components!
How can i use the library?
Here's how you add our dependencie to your project @platformbuilders/react-ui
- depend on it:
yarn add @platformbuilders/react-ui
- import the ThemeProvider from styled-components and provide the Theme following the ThemeType definition.
import { ThemeProvider } from 'styled-components';
import { ThemeType } from '@platformbuilders/react-ui';
const theme: ThemeType = { ... };
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
- use it
import { Button } from '@platformbuilders/react-ui';