Skip to content

Allow CustomLink type to create link menus #48

@akademy

Description

@akademy

Allow creation of the menu items, currently only in NavBar and Footer, to be created with an array of CustomLink types.

export type CustomLink = {
    name: string;
    href: string;
}

e.g. Something like:

const myLinks: CustomLink[] = [{
    "name":"menu one",
    "href":"/menu/one/"
}]
<NavBar menu={my-links} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions