@jonywu/icon_test
Version:
36 lines (35 loc) • 1.42 kB
TypeScript
interface Props {
themeColor?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
variant: "text" | "filled" | "ghost" | "soft";
prefix?: string;
suffix?: string;
size?: "small" | "medium" | "large";
width?: "fluid" | "fit";
borderWidth?: "none" | "1px" | "2px" | "3px" | "4px" | "5px";
radius?: "none" | "2px" | "4px" | "8px" | "12px" | "16px" | "32px" | "full";
isDisabled?: boolean;
className?: string;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
themeColor: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
size: "small" | "medium" | "large";
width: "fluid" | "fit";
isDisabled: boolean;
className: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};