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:
MenuOption
Live Demo
For detailed code usage documentation, see the Storybooks for each framework below.
React
Last updated