UNPKG

@sandlada/vue-mdc

Version:

![Vue MDC Logo](https://raw.githubusercontent.com/sandlada/vue-mdc/refs/heads/main/docs/vue-mdc-cover.png)

42 lines 1.11 kB
/** * @license * Copyright 2025 Sandlada & Kai Orion * SPDX-License-Identifier: MIT */ import type { ExtractPublicPropTypes, PropType } from 'vue'; export declare const IconVariant: { readonly Outlined: "outlined"; readonly Rounded: "rounded"; readonly Sharp: "sharp"; }; export type TIconVariant = typeof IconVariant[keyof typeof IconVariant]; export declare const props: { /** * 图标变体 * * _此选项仅在项目安装了依赖项`material-symbols`时有效_ * * + variant * - sharp * - rounded * - outlined * * sharp更锐利, rounded更平滑, outlined较为一般化 * * 可以导入枚举对象EIconSize来传入大小 * ```html * <Icon :variant="EIconVariant.Sharp">send</Icon> * ``` * * @default rounded */ readonly variant: { readonly type: PropType<TIconVariant>; readonly default: "rounded"; }; }; export type TIconProps = ExtractPublicPropTypes<typeof props>; export type TIconSlots = { default?: void; }; //# sourceMappingURL=icon.definition.d.ts.map