Skip to main content
版本:v1.0

Toggle 切换开关

类型​

(props: Props, renderFuncArr?: RenderFunc | Array<RenderFunc>) => result: RenderFunc

Props: object​

名称说明必填类型默认值
label标签否string-
settingsKeySettings Storage API 中存储值的 key否string-
value值否boolean-
onChange切换事件否(value: boolean) => void-