Interface: CustomPlaceholderProps#
Renderer.Component.CustomPlaceholderProps
Hierarchy#
PlaceholderProps
<NamespaceSelectFilterOption
,true
>
↳ CustomPlaceholderProps
Table of contents#
Properties#
- children
- className
- clearValue
- cx
- getStyles
- getValue
- hasValue
- innerProps
- isDisabled
- isFocused
- isMulti
- isRtl
- options
- selectOption
- selectProps
- setValue
- theme
Properties#
children#
• children: ReactNode
The children to be rendered.
Inherited from#
PlaceholderProps.children
className#
• Optional
className: string
Inherited from#
PlaceholderProps.className
clearValue#
• clearValue: () => void
Type declaration#
▸ (): void
Returns#
void
Inherited from#
PlaceholderProps.clearValue
cx#
• cx: CX
Inherited from#
PlaceholderProps.cx
getStyles#
• getStyles: GetStyles
<NamespaceSelectFilterOption
, true
, GroupBase
<NamespaceSelectFilterOption
>>
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
getValue#
• getValue: () => Options
<NamespaceSelectFilterOption
>
Type declaration#
▸ (): Options
<NamespaceSelectFilterOption
>
Returns#
Options
<NamespaceSelectFilterOption
>
Inherited from#
PlaceholderProps.getValue
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
<NamespaceSelectFilterOption
, GroupBase
<NamespaceSelectFilterOption
>>
Inherited from#
PlaceholderProps.options
selectOption#
• selectOption: (newValue
: NamespaceSelectFilterOption
) => void
Type declaration#
▸ (newValue
): void
Parameters#
Name | Type |
---|---|
newValue |
NamespaceSelectFilterOption |
Returns#
void
Inherited from#
PlaceholderProps.selectOption
selectProps#
• selectProps: Props
<NamespaceSelectFilterOption
, true
, GroupBase
<NamespaceSelectFilterOption
>>
Inherited from#
PlaceholderProps.selectProps
setValue#
• setValue: (newValue
: MultiValue
<NamespaceSelectFilterOption
>, action
: SetValueAction
, option?
: NamespaceSelectFilterOption
) => void
Type declaration#
▸ (newValue
, action
, option?
): void
Parameters#
Name | Type |
---|---|
newValue |
MultiValue <NamespaceSelectFilterOption > |
action |
SetValueAction |
option? |
NamespaceSelectFilterOption |
Returns#
void
Inherited from#
PlaceholderProps.setValue
theme#
• theme: Theme
Inherited from#
PlaceholderProps.theme