Skip to main content
版本:v3

Toggle 切换开关

类型

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

Props: object

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