PromoCursed/node_modules/antd/es/slider/style/index.d.ts

98 lines
2.5 KiB
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type * as React from 'react';
import type { GetDefaultToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Height of slider
*/
controlSize: number;
/**
* @desc
* @descEN Height of rail
*/
railSize: number;
/**
* @desc
* @descEN Size of handle
*/
handleSize: number;
/**
* @desc
* @descEN Size of handle when hover
*/
handleSizeHover: number;
/**
* @desc
* @descEN Border width of handle
*/
handleLineWidth: number | string;
/**
* @desc
* @descEN Border width of handle when hover
*/
handleLineWidthHover: number | string;
/**
* @desc
* @descEN Size of dot
*/
dotSize: number;
/**
* @desc
* @descEN Background color of rail
*/
railBg: string;
/**
* @desc
* @descEN Background color of rail when hover
*/
railHoverBg: string;
/**
* @desc
* @descEN Background color of track
*/
trackBg: string;
/**
* @desc
* @descEN Background color of track when hover
*/
trackHoverBg: string;
/**
* @desc
* @descEN Color of handle
*/
handleColor: string;
/**
* @desc
* @descEN Border color of handle when active
*/
handleActiveColor: string;
/**
* @desc
* @descEN Outline color of handle when active
*/
handleActiveOutlineColor: string;
/**
* @desc
* @descEN Color of handle when disabled
*/
handleColorDisabled: string;
/**
* @desc
* @descEN Border color of dot
*/
dotBorderColor: string;
/**
* @desc
* @descEN Border color of dot when active
*/
dotActiveBorderColor: string;
/**
* @desc
* @descEN Background color of track when disabled
*/
trackBgDisabled: string;
}
export declare const prepareComponentToken: GetDefaultToken<'Slider'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;