A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
40
comments
10%
passed
2
coverage
0%

ColorMode

avatar of atanasster
@component-controls/components
3.14.5

Theme-ui dark/light mode toggle.

import { ColorMode } from '@component-controls/components';

Overview

Name
Description
Default
ToggleOwnProps(2 properties)
label

optional label to be displayed alongside the toggle

string
-
ref

obtain a ref target

ToggleRef
-
ReactSwitchProps(17 properties)

Commits

Date
Author
Commit Message
2/17/2021

atanasster

avatar of atanasster
feat: components history and catalog
6/21/2020

atanasster

avatar of atanasster
feat: full text search initial
6/20/2020

atanasster

avatar of atanasster
chore: upgrade to octicons 10.x
6/19/2020

atanasster

avatar of atanasster
chore: color mode icons
6/16/2020

atanasster

avatar of atanasster
chore: merge app-components into components
5 commits
package
imports
peer
SunIconMoonIcon
react
^17.0.1
FC
*
theme-ui
^0.8.4
useColorModejsxBox
file
imports
"../Toggle"
ToggleToggleProps