Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
visitor
types
VariantArg
Interface VariantArg<T>
interface
VariantArg
<
T
>
{
type
:
"variant"
;
options
:
string
[]
;
defaultValue
:
string
;
fields
:
AllArgTypes
<
T
>
[]
;
defaultValues
:
ArgTypeFromIDLType
<
T
>
;
maxLength
?:
number
;
minLength
?:
number
;
label
:
string
;
validate
:
(
(
value
)
=>
string
|
boolean
)
;
}
Type Parameters
T
extends
types
.
IDL
.
Type
Hierarchy (
view full
)
DefaultArg
VariantArg
Index
Properties
type
options
default
Value
fields
default
Values
max
Length?
min
Length?
label
validate
Properties
type
type
:
"variant"
options
options
:
string
[]
default
Value
default
Value
:
string
fields
fields
:
AllArgTypes
<
T
>
[]
default
Values
default
Values
:
ArgTypeFromIDLType
<
T
>
Optional
max
Length
max
Length
?:
number
Optional
min
Length
min
Length
?:
number
label
label
:
string
validate
validate
:
(
(
value
)
=>
string
|
boolean
)
Type declaration
(
value
)
:
string
|
boolean
Parameters
value
:
any
Returns
string
|
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
type
options
default
Value
fields
default
Values
max
Length
min
Length
label
validate
ic-reactor
Loading...