diff --git a/src/components/Icon/Icon.vue b/src/components/Icon/Icon.vue index 90591cf..7ab71ee 100644 --- a/src/components/Icon/Icon.vue +++ b/src/components/Icon/Icon.vue @@ -2,14 +2,14 @@ import 'material-icons/iconfont/material-icons.css'; import { computed } from 'vue'; -export interface Props { +export interface IProps { name: string; - kind?: 'filled' | 'outlined' | 'round' | 'sharp' | 'two-tone'; + kind?: 'filled' | 'outlined' | 'round' | 'sharp' | 'two-tone' | string; size?: string | number; color?: string; fontWeight?: 'light' | 'regular' | 'medium' | 'bold'; } -const props = withDefaults(defineProps(), { +const props = withDefaults(defineProps(), { name: 'face', kind: 'outlined', size: 24,