Properties
Optional
attributes
attributes?: Record<string, string>
Optional
autoFocus
autoFocus?: boolean
Optional
classNames
classNames?: string[]
Optional
fireModifierAndEnterKeyPress
fireModifierAndEnterKeyPress?: (() => void)
Optional
icon
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" Optional
mandatory
mandatory?: boolean
Optional
onChange
onChange?: ((value) => void)
Type declaration
- (value): void
Returns void
Optional
onKeyPress
onKeyPress?: ((event) => void)
Type declaration
- (event): void
Returns void
Optional
placeholder
placeholder?: string
Optional
testId
testId?: string
Optional
type
type?: "number" | "email" | "text"
Optional
validationPatterns
Type declaration
Optional
operator?: "and" | "or"
Optional
value
value?: string