@platformbuilders/react-elements
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

@platformbuilders/react-elements

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!

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/react-elements
  1. import the ThemeProvider from styled-components and provide the Theme following the ThemeType definition.
import { StylesProvider } from '@material-ui/core/styles';
import { ThemeProvider } from 'styled-components';
import { ThemeType } from '@platformbuilders/react-elements';

const theme: ThemeType = { ... };

<ThemeProvider theme={theme}>
 <StylesProvider injectFirst>
      <App />
  </StylesProvider>
</ThemeProvider>
  1. use it
import { Button } from '@platformbuilders/react-elements';

Package Sidebar

Install

npm i @platformbuilders/react-elements

Weekly Downloads

39

Version

0.3.6

License

MIT

Unpacked Size

636 kB

Total Files

150

Last publish

Collaborators

  • mikeeam
  • dev-builders