Skip to content

Commit

Permalink
fix: typing improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gokh4nozturk authored and Gökhan Öztürk committed Sep 23, 2022
1 parent a5b0b6e commit aadb3a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Icon/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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<Props>(), {
const props = withDefaults(defineProps<IProps>(), {
name: 'face',
kind: 'outlined',
size: 24,
Expand Down

0 comments on commit aadb3a0

Please # to comment.