Trilium Frontend API
Preparing search index...
<internal>
Consumer
Interface Consumer<T>
interface
Consumer
<
T
>
{
defaultProps
?:
Partial
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
;
displayName
?:
string
;
(
props
:
RenderableProps
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
,
context
?:
any
,
)
:
ComponentChildren
;
}
Type Parameters
T
Hierarchy (
View Summary
)
FunctionComponent
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
Consumer
Consumer
(
props
:
RenderableProps
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
,
context
?:
any
,
)
:
ComponentChildren
Parameters
props
:
RenderableProps
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
Optional
context
:
any
Returns
ComponentChildren
Index
Properties
default
Props?
display
Name?
Properties
Optional
default
Props
defaultProps
?:
Partial
<
{
children
:
(
value
:
T
)
=>
ComponentChildren
}
>
Optional
display
Name
displayName
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Props
display
Name
Trilium Frontend API
Loading...