@labrnth/theme
v0.1.5
Published
Labyrinth React Theme
Downloads
20
Readme
@labrnth/theme
The theme for all @labrnth
components.
Installation
yarn add @labrnth/theme
Usage
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. |