Skip to content

platformbuilders/fluid-react

Repository files navigation

@platformbuilders/fluid-react

Build Status npm MIT

Welcome to the @platformbuilders/elements 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!

Storybook

https://fluid-react.web.app

How can i use the library?

Here's how you add our dependencie to your project @platformbuilders/elements

  1. depend on it:
yarn add @platformbuilders/fluid-react
  1. 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>
  1. use it
import { Button } from '@platformbuilders/fluid-react';