File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { type Ref , computed , ref } from ' vue'
33import { OhVueIcon as VIcon } from ' oh-vue-icons'
4- import { type CustomizeIconType } from ' oh-vue-icons'
54
65// import '@gouvfr/dsfr/dist/component/button/button.module.js'
76
@@ -14,7 +13,7 @@ export type DsfrButtonProps = {
1413 iconOnly? : boolean
1514 noOutline? : boolean
1615 size? : ' sm' | ' small' | ' lg' | ' large' | ' md' | ' medium' | ' ' | undefined
17- icon? : string | CustomizeIconType
16+ icon? : string | InstanceType < typeof VIcon >[ ' $props ' ]
1817 onClick? : ($event : MouseEvent ) => void
1918}
2019
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { type ThHTMLAttributes } from ' vue'
3- import { type CustomizeIconType , OhVueIcon as VIcon } from ' oh-vue-icons'
3+ import { OhVueIcon as VIcon } from ' oh-vue-icons'
44
55export type DsfrTableHeaderProps = {
66 header? : string
77 headerAttrs? : ThHTMLAttributes & { onClick? : (e : MouseEvent ) => void }
8- icon? : CustomizeIconType
8+ icon? : InstanceType < typeof VIcon >[ ' $props ' ]
99}
1010
1111withDefaults (defineProps <DsfrTableHeaderProps >(), {
You can’t perform that action at this time.
0 commit comments