Interface SelectProps

interface SelectProps {
    attributes?: Record<string, string>;
    classNames?: string[];
    description?: ExtendedHTMLElement;
    handleIcon?: MynahIcons | "q" | "menu" | "minus" | "search" | "plus" | "paper-clip" | "list-add" | "tabs" | "chat" | "link" | "folder" | "file" | "flash" | "doc" | "external" | "cancel" | "cancel-circle" | "calendar" | "comment" | "megaphone" | "magic" | "notification" | "eye" | "ellipsis" | "ok" | "up-open" | "down-open" | "right-open" | "left-open" | "resize-full" | "resize-small" | "block" | "ok-circled" | "info" | "warning" | "error" | "thumbs-up" | "thumbs-down" | "star" | "stack" | "light-bulb" | "envelope-send" | "refresh" | "progress" | "scroll-down" | "user" | "play" | "pause" | "stop" | "pencil" | "code-block" | "copy" | "cursor-insert" | "text-select" | "revert" | "rocket" | "asterisk" | "bug" | "check-list" | "deploy" | "help" | "message" | "trash" | "transform";
    icon?: MynahIcons | "q" | "menu" | "minus" | "search" | "plus" | "paper-clip" | "list-add" | "tabs" | "chat" | "link" | "folder" | "file" | "flash" | "doc" | "external" | "cancel" | "cancel-circle" | "calendar" | "comment" | "megaphone" | "magic" | "notification" | "eye" | "ellipsis" | "ok" | "up-open" | "down-open" | "right-open" | "left-open" | "resize-full" | "resize-small" | "block" | "ok-circled" | "info" | "warning" | "error" | "thumbs-up" | "thumbs-down" | "star" | "stack" | "light-bulb" | "envelope-send" | "refresh" | "progress" | "scroll-down" | "user" | "play" | "pause" | "stop" | "pencil" | "code-block" | "copy" | "cursor-insert" | "text-select" | "revert" | "rocket" | "asterisk" | "bug" | "check-list" | "deploy" | "help" | "message" | "trash" | "transform";
    label?: string | ExtendedHTMLElement | HTMLElement;
    onChange?: ((value) => void);
    optionTestId?: string;
    optional?: boolean;
    options?: SelectOption[];
    placeholder?: string;
    value?: string;
    wrapperTestId?: string;
}

Properties

attributes?: Record<string, string>
classNames?: string[]
description?: ExtendedHTMLElement
handleIcon?: MynahIcons | "q" | "menu" | "minus" | "search" | "plus" | "paper-clip" | "list-add" | "tabs" | "chat" | "link" | "folder" | "file" | "flash" | "doc" | "external" | "cancel" | "cancel-circle" | "calendar" | "comment" | "megaphone" | "magic" | "notification" | "eye" | "ellipsis" | "ok" | "up-open" | "down-open" | "right-open" | "left-open" | "resize-full" | "resize-small" | "block" | "ok-circled" | "info" | "warning" | "error" | "thumbs-up" | "thumbs-down" | "star" | "stack" | "light-bulb" | "envelope-send" | "refresh" | "progress" | "scroll-down" | "user" | "play" | "pause" | "stop" | "pencil" | "code-block" | "copy" | "cursor-insert" | "text-select" | "revert" | "rocket" | "asterisk" | "bug" | "check-list" | "deploy" | "help" | "message" | "trash" | "transform"
icon?: MynahIcons | "q" | "menu" | "minus" | "search" | "plus" | "paper-clip" | "list-add" | "tabs" | "chat" | "link" | "folder" | "file" | "flash" | "doc" | "external" | "cancel" | "cancel-circle" | "calendar" | "comment" | "megaphone" | "magic" | "notification" | "eye" | "ellipsis" | "ok" | "up-open" | "down-open" | "right-open" | "left-open" | "resize-full" | "resize-small" | "block" | "ok-circled" | "info" | "warning" | "error" | "thumbs-up" | "thumbs-down" | "star" | "stack" | "light-bulb" | "envelope-send" | "refresh" | "progress" | "scroll-down" | "user" | "play" | "pause" | "stop" | "pencil" | "code-block" | "copy" | "cursor-insert" | "text-select" | "revert" | "rocket" | "asterisk" | "bug" | "check-list" | "deploy" | "help" | "message" | "trash" | "transform"
label?: string | ExtendedHTMLElement | HTMLElement
onChange?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

optionTestId?: string
optional?: boolean
options?: SelectOption[]
placeholder?: string
value?: string
wrapperTestId?: string