mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[improvement] Tag: optimize type definitions
This commit is contained in:
@@ -10,7 +10,7 @@ import { DefaultSlots } from '../utils/use/sfc';
|
||||
export type IconProps = {
|
||||
tag: keyof HTMLElementTagNameMap | string;
|
||||
name: string;
|
||||
size?: string;
|
||||
size?: string | number;
|
||||
color?: string;
|
||||
info?: string | number;
|
||||
classPrefix: string;
|
||||
|
Reference in New Issue
Block a user