effect-tree
Preparing search index...
index
Draw
ThemedPart
Type Alias ThemedPart<A>
ThemedPart
:
(
theme
:
Draw
.
Theme
,
a
:
A
)
=>
Draw
.
Part
A themed part is exactly like a
Part
except:
Author of the
Part
has access to the
Theme
when building the part.
It requires a
Theme
to be drawn.
A
ThemePart<A>
requires not just a theme, but also an argument of type
A
to actually build the part.
Type Parameters
A
Type Declaration
(
theme
:
Draw
.
Theme
,
a
:
A
)
:
Draw
.
Part
Parameters
theme
:
Draw
.
Theme
a
:
A
Returns
Draw
.
Part
Settings
Member Visibility
Internal
Theme
OS
Light
Dark
effect-tree
Loading...
A themed part is exactly like a Part except:
Parthas access to theThemewhen building the part.ThemePart<A>requires not just a theme, but also an argument of typeAto actually build the part.