{ "slug": "checkbox", "mode": "scenarios", "curated": true, "examples": [ { "id": "checkbox-ex-1", "title": "默认与常用变体", "titleSrc": "demo", "desc": "", "html": "
零运行时依赖;数据请求、权限和国际化由宿主接入方决定。
\n零运行时依赖;数据请求、权限和国际化由宿主接入方决定。
", "jsx": "import { KoleCheckbox } from 'kole-ui/react';\n\nconst options = [\n { label: '邮件通知', value: 'email' },\n { label: '短信通知', value: 'sms' }\n];\n\n// 状态展示:整组禁用,保留已勾选值\n