Package Exports
- @react-to-styled/essentials
- @react-to-styled/essentials/dist/esm/essentials.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@react-to-styled/essentials) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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/essentialsInstall with yarn:
yarn add @react-to-styled/essentialsImport
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