npm.io
0.12.0 • Published 4 years ago

@frigobar/core

Licence
MIT
Version
0.12.0
Deps
1
Size
131 kB
Vulns
0
Weekly
0
Stars
15

Build Status Commitizen Friendly All Contributors StyledComponents

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'));