File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'father' ;
2+
3+ export default defineConfig ( {
4+ plugins : [ '@rc-component/father-plugin' ] ,
5+ } ) ;
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ npm start
7575| ` allowCross ` | boolean | true | 允许手柄在范围模式下交叉。 |
7676| ` ariaLabelForHandle ` | string \| string[ ] | - | ` aria-label ` for handle elements. |
7777| ` ariaLabelledByForHandle ` | string \| string[ ] | - | ` aria-labelledby ` for handle elements. |
78- | ` ariaRequired ` | boolean | - | ` aria-required ` for handle elements. |
79- | ` ariaValueTextFormatterForHandle ` | ` ((value: number) => string) \| ((value: number) => string)[] ` | - | Formatter for ` aria-valuetext ` . |
78+ | ` ariaRequired ` | boolean | - | 句柄元素的 ` aria-required ` 。 |
79+ | ` ariaValueTextFormatterForHandle ` | ` ((value: number) => string) \| ((value: number) => string)[] ` | - | ` aria-valuetext ` 格式化函数。 |
8080| ` autoFocus ` | boolean | - | 将滑块聚焦在安装座上。 |
8181| ` className ` | string | - | 附加 className。 |
8282| ` classNames ` | ` Partial<Record<'tracks' \| 'track' \| 'rail' \| 'handle', string>> ` | - | 内部插槽的语义化 className。 |
@@ -90,7 +90,7 @@ npm start
9090| ` id ` | string | - | 根 ID。 |
9191| ` included ` | boolean | true | 轨道是否渲染为连续的选定间隔。 |
9292| ` keyboard ` | boolean | true | 启用键盘交互。 |
93- | ` marks ` | ` Record<string \| number, ReactNode \| MarkObj> ` | - | Slider marks. |
93+ | ` marks ` | ` Record<string \| number, ReactNode \| MarkObj> ` | - | 滑块刻度标记。 |
9494| ` max ` | number | 100 | 最大值。 |
9595| ` min ` | number | 0 | 最小值。 |
9696| ` onAfterChange ` | ` (value) => void ` | - | 已废弃。请使用 ` onChangeComplete ` 。 |
Original file line number Diff line number Diff line change 3131 },
3232 "include" : [
3333 " .dumirc.ts" ,
34+ " .fatherrc.ts" ,
3435 " src" ,
3536 " tests" ,
3637 " docs/examples"
You can’t perform that action at this time.
0 commit comments