migrate markdown widget
This commit is contained in:
@ -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}/>
|
||||
|
Reference in New Issue
Block a user