Dropdown

Last Update : 14 August, 2023 | Published : 01 July, 2023 | 1 Min Read

Dropdown -

Import

import Dropdown from '@intelops/intelops_ui/packages/react/components/Dropdown/src';

Create a Dropdown

<Dropdown
    title = "dropdown"
    content = {[
        { 
            id: 1,
            option: "Action",
            value: "",
            href: "" },
        { 
            id: 2,
            option: "Another action",
            value: "",
            href: "" },
        ]}
    onChange={handleChange}
/>

Props

NameTypeDescription
idstringUnique to each element can be used to lookup an element getElementById( )
classNamestringTo add new or to override the applied styles
titlestringThe title of the dropdown list
contentList of array elementsData in the dropdown list - json file

Looking for Cloud-Native Implementation?

Finding the right talent is pain. More so, keeping up with concepts, culture, technology and tools. We all have been there. Our AI-based automated solutions helps eliminate these issues, making your teams lives easy.

Contact Us