Welcome to the @platformbuilders/elements package here you will find out all of our components shared with the community
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!
Here's how you add our dependencie to your project @platformbuilders/elements
- depend on it:
yarn add @platformbuilders/fluid-react
- import the ThemeProvider from styled-components and provide the Theme following the ThemeType definition.
import { ThemeProvider } from 'styled-components';
import { ThemeType } from '@platformbuilders/fluid-react';
const theme: ThemeType = { ... };
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
- use it
import { Button } from '@platformbuilders/fluid-react';