Bootstrap 4 reboot.css for styled-components
npm install styled-reboot
reboot.css from Bootstrap v4 for
styled-components.
Also see styled-reset
from Zac Anger
&&
also see styled-normalize
from LestaD.
--------
npm i styled-reboot
``javascript
// app.js
import * as React from 'react';
import { Reboot } from 'styled-reboot';
const App = () => (
<>
export default App;
`
Or you can create your own global style (Don't forget to create a theme, or extend ours! We provide a few defaults.):
`javascript
// app.js
import React from 'react';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import { reboot, defaultRebootTheme } from 'styled-reboot';
const GlobalStyle = createGlobalStyle
${reboot}
/ other styles /;
const App = () => (
Hi, I'm an app!
};
export default App;
``
All credit goes to Bootstrap for reboot.css.
Bootstrap is released under the MIT License.