Skip to content

drop-down 5.0.26

Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/drop-down@5.0.26
Install via package.json:
"@dusk-network/drop-down": "5.0.26"

About this version

Dusk UI Kit - Atom - DropDown

Storybook Docs

Installation

npm i -D @dusk-network/drop-down

Usage

<script>
  import DropDown from "@dusk-network/drop-down";

  const options = [
    { name: "option 1" },
    { name: "option 2" },
    { name: "option 3" },
    { name: "option 4" },
    { name: "option 5" },
    { name: "option 6" },
    { name: "option 7" },
    { name: "option 8" },
    { name: "option 9" },
    { name: "option 10" },
    { name: "option 11" },
    { name: "option 12" },
    { name: "option 13" },
    { name: "option 14" },
    { name: "option 15" },
  ];
  function onSelect() {
    //Triggered on new selected value
  }
</script>

<DropDown options="{options}" on:select="{onSelect}" />

Details


Assets

  • drop-down-5.0.26.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0