From bb8bdda40f81364ec1a05b2e518d548be305c1d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Go=CC=88khan=20O=CC=88ztu=CC=88rk?= Date: Fri, 23 Sep 2022 16:25:07 +0300 Subject: [PATCH] fix: typing improvements --- src/components/Icon/Icon.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,