amis-rpc-design/node_modules/antd/lib/switch/style/index.d.ts

70 lines
1.7 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export interface ComponentToken {
/**
* @desc
* @descEN Height of Switch
*/
trackHeight: number;
/**
* @desc
* @descEN Height of small Switch
*/
trackHeightSM: number;
/**
* @desc
* @descEN Minimum width of Switch
*/
trackMinWidth: number;
/**
* @desc
* @descEN Minimum width of small Switch
*/
trackMinWidthSM: number;
/**
* @desc
* @descEN Padding of Switch
*/
trackPadding: number;
/**
* @desc
* @descEN Background color of Switch handle
*/
handleBg: string;
/**
* @desc
* @descEN Shadow of Switch handle
*/
handleShadow: string;
/**
* @desc
* @descEN Size of Switch handle
*/
handleSize: number;
/**
* @desc
* @descEN Size of small Switch handle
*/
handleSizeSM: number;
/**
* @desc
* @descEN Minimum margin of content area
*/
innerMinMargin: number;
/**
* @desc
* @descEN Maximum margin of content area
*/
innerMaxMargin: number;
/**
* @desc
* @descEN Minimum margin of content area of small Switch
*/
innerMinMarginSM: number;
/**
* @desc
* @descEN Maximum margin of content area of small Switch
*/
innerMaxMarginSM: number;
}
declare const _default: (prefixCls: string) => import("../../theme/interface").UseComponentStyleResult;
export default _default;