oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
16 lines (14 loc) • 366 B
text/typescript
import type { Component } from 'vue'
export interface OuiMenuItem {
id?: string | number
title?: string
value?: string
checked?: boolean | ((id: OuiMenuItem) => boolean | undefined)
icon?: Component
disabled?: boolean
close?: boolean
url?: string
action?: (item: OuiMenuItem, ...args: any[]) => void
header?: boolean
submenu?: OuiMenuItem[]
}