Untitled

 avatar
unknown
typescript
5 months ago
657 B
2
Indexable
const salesOptions = computed<MenuOption[]>(() => {
    return [
        {
            label: () =>
                h(RouterLink,
                    {
                        to: {
                            name: 'refunds-and-invoicing',
                            params: {
                                id: props.event.id as string,
                            },
                        },
                    },
                    { default: () => 'Invoices & Refunds' },
                ),
            key: 'refundsAndInvoicing',
            icon: renderIcon('fa-solid fa-file-invoice-dollar'),
            disabled: false,
        },
    ];
});
Editor is loading...
Leave a Comment