You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
543 B

4 months ago
import type { IconStyleProps } from '../elements/shapes';
import type { Size } from '../types';
/**
* <zh/>
*
* <en/> Infer the icon size according to key size if icon size is not manually specified
* @param size - <zh/> | <en/> Key size
* @param iconStyle - <zh/> | <en/> Icon style
* @returns <zh/> | <en/> Icon style
*/
export declare function inferIconStyle(size: Size, iconStyle: IconStyleProps): IconStyleProps;