migrate markdown widget

This commit is contained in:
Shawn Erquhart
2018-07-24 21:46:04 -04:00
parent 3f47fe6dbf
commit f1a2eb33b4
62 changed files with 411 additions and 538 deletions

View File

@ -42,6 +42,7 @@ const Toggle = ({
renderBackground,
onFocus,
onBlur,
className,
Container = ToggleContainer,
Background = ToggleBackground,
Handle = ToggleHandle,
@ -53,6 +54,7 @@ const Toggle = ({
aria-checked={on.toString()}
onFocus={onFocus}
onBlur={onBlur}
className={className}
{...getElementTogglerProps()}
>
<Background isActive={on}/>