@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
22 lines (16 loc) • 563 B
TypeScript
import { BasicAttributes, ListenerProp, SetPropsDefaults, VarComponent } from './varComponent'
export declare const iconProps: Record<keyof IconProps, any>
export interface IconProps extends BasicAttributes {
name?: string
size?: string | number
color?: string
namespace?: string
animationClass?: string
transition?: string | number
onClick?: ListenerProp<(event: Event) => void>
}
export class Icon extends VarComponent {
static setPropsDefaults: SetPropsDefaults<IconProps>
$props: IconProps
}
export class _IconComponent extends Icon {}