@frigobar/core
v0.12.0
Published
A component library
Downloads
23
Maintainers
Readme
Install
You can install Frigobar using either of the methods below.
For npm users:
npm install @frigobar/core styled-components --save
For Yarn users:
yarn add @frigobar/core styled-components
Usage
It's very easy to start using frigobar in your react application:
import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider } from 'styled-components';
import { theme, Button } from '@frigobar/core';
function App() {
return (
<ThemeProvider theme={theme}>
<Button>Button</Button>
</ThemeProvider>
);
}
ReactDOM.render(<App />, document.getElementById('root'));