1.0.3 • Published 5 years ago
afreda-poc v1.0.3
Proof of concept
install these peer deps.
"peerDependencies": {
"react": "^16.4.0",
"react-dom": "^16.4.0",
"styled-components": "^4.1.3"
}
Install the components
npm install --save afreda-poc
Wrap app in Themer
import { Themer, theme } from 'afreda-poc'
function App() {
return (
<Themer theme={theme}>
{/* your app here */}
</Themer>
)
}