Backstage
Docs
Github
Preparing search index...
@backstage/ui
Text
Variable Text
Const
Text
:
{
displayName
:
string
;
<
T
extends
ElementType
=
"p"
>
(
props
:
TextOwnProps
&
Omit
<
ComponentPropsWithRef
<
T
>
,
keyof
TextOwnProps
,
>
&
{
ref
?:
ComponentPropsWithRef
<
T
>
[
"ref"
]
}
,
)
:
ReactElement
<
TextProps
<
T
>
,
T
>
;
}
= ...
Type Declaration
<
T
extends
ElementType
=
"p"
>
(
props
:
TextOwnProps
&
Omit
<
ComponentPropsWithRef
<
T
>
,
keyof
TextOwnProps
>
&
{
ref
?:
ComponentPropsWithRef
<
T
>
[
"ref"
]
;
}
,
)
:
ReactElement
<
TextProps
<
T
>
,
T
>
Type Parameters
T
extends
ElementType
=
"p"
Parameters
props
:
TextOwnProps
&
Omit
<
ComponentPropsWithRef
<
T
>
,
keyof
TextOwnProps
>
&
{
ref
?:
ComponentPropsWithRef
<
T
>
[
"ref"
]
;
}
Returns
ReactElement
<
TextProps
<
T
>
,
T
>
displayName
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...