@para-ui/core 1.1.28 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,13 +3,13 @@
3
3
  * @date 2021/8/4 15:54
4
4
  * @description 复选框
5
5
  */
6
- import { FunctionComponent } from 'react';
6
+ import { FunctionComponent, ReactNode } from 'react';
7
7
  import { CheckboxProps } from '@material-ui/core';
8
8
  export interface CheckboxOptions extends Omit<CheckboxProps, 'size'> {
9
9
  /** 样式class */
10
10
  className?: string;
11
11
  /** 标题 */
12
- label?: string;
12
+ label?: ReactNode;
13
13
  /** 大小 */
14
14
  size?: 'small' | 'medium' | 'large';
15
15
  /** 标题位置 */