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