menu 5.0.28
Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/menu@5.0.28
Install via package.json:
"@dusk-network/menu": "5.0.28"
About this version
npm i -D @dusk-network/menu
<script>
import Menu, { Item } from "@dusk-network/menu";
const orientation = "horizontal";
</script>
<Menu orientation="{orientation}">
<Item href="javascript:;">Link 1</Item>
<Item href="javascript:;">Link 2</Item>
<Item>No Link</Item>
</Menu>