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.
 
 
 
 

11 lines
543 B

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;