0.0.17 • Published 10 months ago

@fluentliteui/dropdown v0.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@fluentliteui/dropdown

install

yarn add @fluentliteui/dropdown

usage

import { Dropdown } from "@fluentliteui/dropdown";
import "@fluentliteui/dropdown/dist/index.css";

function App() {
  const [dropdownValue, setDropdownValue] = useState<string | number | boolean>("tom");
  <Dropdown className="my-dropdown" disabled={false} label={"name"} value={dropdownValue} options={[{
          title: "Tom",
          key: "tom",
          value: "tom"
        }, {
          title: "Jerry",
          key: "jerry",
          value: "Jerry"
        }]} onOptionChange={setDropdownValue} />
}
0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.1-3.1

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

11 months ago

0.0.1

11 months ago

0.0.0

11 months ago