UNPKG

616 BTypeScriptView Raw
1import { ReactNode } from "react";
2
3export interface IconsType {
4 [key: string]: ReactNode;
5}
6
7export default interface CommonProps {
8 /**
9 * 样式类名的品牌前缀
10 */
11 prefix?: string;
12
13 /**
14 * 国际化文案对象,属性为组件的 displayName
15 */
16 locale?: any;
17
18 /**
19 * 是否开启 Pure Render 模式,会提高性能,但是也会带来副作用
20 */
21 pure?: boolean;
22
23 /**
24 * 是否在开发模式下显示组件属性被废弃的 warning 提示
25 */
26 warning?: boolean;
27
28 /**
29 * 是否开启 rtl 模式
30 */
31 rtl?: boolean;
32}