icon( name: string, options?: { color?: "default" | "disabled" | "accent" | "secondary" | "tertiary"; id?: string; size?: 24 | 16 | 20; tone?: "default" | "success" | "warning" | "accent" | "muted" | "danger"; },): ViewNode 参数
- name: string
可选options: {
color?: "default" | "disabled" | "accent" | "secondary" | "tertiary";
id?: string;
size?: 24 | 16 | 20;
tone?: "default" | "success" | "warning" | "accent" | "muted" | "danger";
}
图标节点。