0.1.5 • Published 5 years ago
@labrnth/theme v0.1.5
@labrnth/theme
The theme for all @labrnth components.
Installation
yarn add @labrnth/themeUsage
import Theme from '@labrnth/theme';
<Theme>
// children go here...
</Theme>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| theme? | default | default | The theme to provide to the child components. |
| children | React.ReactNode | The contents that the Theme wraps. |