Format

Props

Props
Data Type
Required

children

MenuOPtion Component

className

string

id

string

name

string

label

string

info

string

placeholder

string

defaultValue

Array [ {

value: string;

text: string;

avatar?: {

username: string;

profilePic?: string;

};

} ]

search

boolean

helptext

string

error

boolean

errorMessage

string

disabled

boolean

onClick

function event

Event Response

Property
Data Type

array

[{

avatar: string,

id: string,

name: string,

text: string,

value: string

}]

Components Dependency

For this component elaboration, there were used the following internal components:

Live Demo

For detailed code usage documentation, see the Storybooks for each framework below.

React

Last updated