Skip to content

Commit

Permalink
Revert "Fixes item type for button"
Browse files Browse the repository at this point in the history
This reverts commit dda4f32.
  • Loading branch information
DarkGhostHunter committed Nov 24, 2023
1 parent dda4f32 commit f6cf68f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/types/list.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import colors from '#ui-colors'
import { list } from '../ui.config'
import { PropType } from 'vue'
import Button from '../components/elements/Button.vue'

export type ListSeparatorColor = keyof typeof list.color | typeof colors[number]
Expand All @@ -15,7 +16,7 @@ interface Item {

export type ListOrientation = keyof typeof list.stacking.orientation

export type ListItem = Item | InstanceType<typeof Button>['$props']
export type ListItem = Item | PropType<Button>

export interface ListSlots {
default: undefined,
Expand Down

0 comments on commit f6cf68f

Please sign in to comment.