@invisionag/iris-generic
v4.6.2
Published
```js import generic from '@invisionag/iris-generic'; ```
Downloads
198
Maintainers
Keywords
Readme
JS Version
import generic from '@invisionag/iris-generic';
generic
is a styled-components wrapper around a couple of shared stylings:
- box-sizing
- typography
- normalization
Usage: Somewhere in your code, you want to inject the exported styling like so:
import * as React from 'react';
import GlobalStyles from '@invisionag/iris-generic';
import App from './my-root-component';
render(
<>
<GlobalStyles />
<App />
</>
)
SCSS Version
Import the generic file in your sass bundle:
@import '~@invisionag/iris-generic/generic.scss';