Camara Theme
Camara Theme description.
Props
Camara Theme properties
Property | Description | Type | Default | Version |
---|
theme | What should be the default theme? | light , dark | light | |
Usage
The BrowserWindow already wraps the CamaraTheme
around other components. Use the toggle to switch between light
and dark
themes
Light
import { BrowserWindow, Text } from 'camara';
render(
<BrowserWindow docs>
<Text>I am a browser window, use me to demo the other components</Text>
</BrowserWindow>
);
Dark
import { BrowserWindow, Text } from 'camara';
render(
<BrowserWindow docs>
<Text>I am a browser window, use me to demo the other components</Text>
</BrowserWindow>
);