@pretty-chitty/core
Preparing search index...
ReactCanvas
Text
Function Text
Text
(
args
:
{
children
?:
any
;
align
?:
"center"
|
"left"
|
"right"
;
fill
?:
string
;
stroke
?:
string
;
font
?:
string
;
shadowBlur
?:
number
;
shadowColor
?:
string
;
offsetX
?:
number
;
offsetY
?:
number
;
before
?:
ReactNode
;
after
?:
ReactNode
;
}
&
ReactCanvas
.
DefaultProps
,
)
:
ReactNode
Renders text in an area. The body of this tag should be the text you want rendered.
Parameters
args
:
{
children
?:
any
;
align
?:
"center"
|
"left"
|
"right"
;
fill
?:
string
;
stroke
?:
string
;
font
?:
string
;
shadowBlur
?:
number
;
shadowColor
?:
string
;
offsetX
?:
number
;
offsetY
?:
number
;
before
?:
ReactNode
;
after
?:
ReactNode
;
}
&
ReactCanvas
.
DefaultProps
Returns
ReactNode
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@pretty-chitty/core
Loading...
Renders text in an area. The body of this tag should be the text you want rendered.