@react-to-styled/essentials
TypeScript icon, indicating that this package has built-in type declarations

0.3.1-alpha.2 • Public • Published

License: MIT GitHub contributors npm npm First good issue Package size

React to styled essentials

This package contains essentials like suggested fonts, colors, etc.

Installation

We suggest this package to be imported

Install with npm:

npm install @react-to-styled/essentials

Install with yarn:

yarn add @react-to-styled/essentials

Import

import { EssentialStyle, Colors, Fonts } from '@react-to-styled/essentials'

Usage

Here is a quick example how to import essential styles:

import React from 'react'
import ReactDOM from 'react-dom'
import { EssentialStyle } from '@react-to-styled/essentials'

function App() {
  return (
    <div>
      <EssentialStyle />
      ...the rest of the app
    </div>
  )
}

ReactDOM.render(<App />, document.querySelector('#app'))

You can also check our storybook for more examples

Package Sidebar

Install

npm i @react-to-styled/essentials

Weekly Downloads

0

Version

0.3.1-alpha.2

License

MIT

Unpacked Size

103 kB

Total Files

16

Last publish

Collaborators

  • tolja