DiamondLightSource / DiamondLightSource/sci-react-ui
Allow CustomLink type to create link menus
Open
accepted
priority: low
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 3
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 5
Description
Allow creation of the menu items, currently only in NavBar and Footer, to be created with an array of CustomLink types.
```react
export type CustomLink = {
name: string;
href: string;
}
```
e.g. Something like:
```react
const myLinks: CustomLink[] = [{
"name":"menu one",
"href":"/menu/one/"
}]
```
Contributor guide
Assessment
This issue has not been assessed yet.