@sandlada/vue-mdc
Version:

42 lines • 1.11 kB
TypeScript
/**
* @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