Preparing search index...
The search index is not available
react-declarative
react-declarative
types
react-declarative/components
IFeature
Interface IFeature<Data, Payload>
Represents a feature.
interface
IFeature
<
Data
extends
IAnything
=
IAnything
,
Payload
=
IAnything
>
{
defaultValue
?:
string
|
boolean
;
description
?:
string
;
isDisabled
?:
(
v
:
Data
,
payload
:
Payload
)
=>
boolean
;
isVisible
?:
(
v
:
Data
,
payload
:
Payload
)
=>
boolean
;
label
?:
string
;
map
?:
(
data
:
Data
,
payload
:
Payload
)
=>
Data
;
name
:
string
;
type
?:
FeatureType
;
}
Type Parameters
Data
extends
IAnything
=
IAnything
The data type of the feature.
Payload
=
IAnything
The payload type of the feature.
Index
Properties
default
Value?
description?
is
Disabled?
is
Visible?
label?
map?
name
type?
Properties
Optional
default
Value
defaultValue
?:
string
|
boolean
Optional
description
description
?:
string
Optional
is
Disabled
isDisabled
?:
(
v
:
Data
,
payload
:
Payload
)
=>
boolean
Optional
is
Visible
isVisible
?:
(
v
:
Data
,
payload
:
Payload
)
=>
boolean
Optional
label
label
?:
string
Optional
map
map
?:
(
data
:
Data
,
payload
:
Payload
)
=>
Data
name
name
:
string
Optional
type
type
?:
FeatureType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Value
description
is
Disabled
is
Visible
label
map
name
type
react-declarative
Loading...
Represents a feature.