Interface: CustomPlaceholderProps#
Renderer.Component.CustomPlaceholderProps
Hierarchy#
PlaceholderProps
↳ CustomPlaceholderProps
Table of contents#
Properties#
- children
- className
- cx
- getStyles
- hasValue
- innerProps
- isDisabled
- isFocused
- isMulti
- isRtl
- options
- selectProps
- theme
Methods#
Properties#
children#
• children: ReactNode
The children to be rendered.
Inherited from#
PlaceholderProps.children
className#
• Optional
className: string
Inherited from#
PlaceholderProps.className
cx#
• cx: CX
Inherited from#
PlaceholderProps.cx
getStyles#
• getStyles: GetStyles
<unknown
, boolean
, GroupBase
<unknown
>>
Get the styles of a particular part of the select. Pass in the name of the
property as the first argument, and the current props as the second argument.
See the styles
object for the properties available.
Inherited from#
PlaceholderProps.getStyles
hasValue#
• hasValue: boolean
Inherited from#
PlaceholderProps.hasValue
innerProps#
• innerProps: DetailedHTMLProps
<HTMLAttributes
<HTMLDivElement
>, HTMLDivElement
>
props passed to the wrapping element for the group.
Inherited from#
PlaceholderProps.innerProps
isDisabled#
• isDisabled: boolean
Inherited from#
PlaceholderProps.isDisabled
isFocused#
• isFocused: boolean
Inherited from#
PlaceholderProps.isFocused
isMulti#
• isMulti: boolean
Inherited from#
PlaceholderProps.isMulti
isRtl#
• isRtl: boolean
Inherited from#
PlaceholderProps.isRtl
options#
• options: OptionsOrGroups
<unknown
, GroupBase
<unknown
>>
Inherited from#
PlaceholderProps.options
selectProps#
• selectProps: Props
<unknown
, boolean
, GroupBase
<unknown
>>
Inherited from#
PlaceholderProps.selectProps
theme#
• theme: Theme
Inherited from#
PlaceholderProps.theme
Methods#
clearValue#
▸ clearValue(): void
Returns#
void
Inherited from#
PlaceholderProps.clearValue
getValue#
▸ getValue(): Options
<Option
>
Returns#
Options
<Option
>
Inherited from#
PlaceholderProps.getValue
selectOption#
▸ selectOption(newValue
): void
Parameters#
Name | Type |
---|---|
newValue |
Option |
Returns#
void
Inherited from#
PlaceholderProps.selectOption
setValue#
▸ setValue(newValue
, action
, option?
): void
Parameters#
Name | Type |
---|---|
newValue |
OnChangeValue <Option , IsMulti > |
action |
SetValueAction |
option? |
Option |
Returns#
void
Inherited from#
PlaceholderProps.setValue