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

Name Type Description
id string Unique to each element can be used to lookup an element getElementById( )
className string To add new or to override the applied styles
title string The title of the dropdown list
content List of array elements Data 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