diff --git a/src/runtime/types/list.d.ts b/src/runtime/types/list.d.ts index cc4e7d5f1e..16ee27f0c5 100644 --- a/src/runtime/types/list.d.ts +++ b/src/runtime/types/list.d.ts @@ -5,7 +5,9 @@ import Button from '../components/elements/Button.vue' export type ListSeparatorColor = keyof typeof list.color | typeof colors[number] -interface Item { +export type ListOrientation = keyof typeof list.stacking.orientation + +export type ListItem = { label: string, icon?: string, leading?: boolean, @@ -14,10 +16,6 @@ interface Item { trailingIcon?: string } -export type ListOrientation = keyof typeof list.stacking.orientation - -export type ListItem = Item | PropType