Skip to main content

Label

Label(props: ): ReactElement<WithOptionalTheme<
Label<AsC,FAsC>(props: StyledComponentPropsWithAs<AsC, any, , never, AsC, FAsC>): ReactElement<StyledComponentPropsWithAs<AsC, any, , never, AsC, FAsC>, string | JSXElementConstructor<any>>

Parameters

(Mandatory parameters are in bold)
ParametersTypeDescription
props
textstring
textstringPartial<>, any>, string | JSXElementConstructor<any>>
textstring
textstringPartial<>, any>, string | JSXElementConstructor<any>>
asundefined
asundefined
classNamestring
classNamestring
classNamestring
classNamestring
descriptionReactNode
descriptionReactNode
descriptionReactNode
descriptionReactNode
DescriptionComponentFC<FieldDescriptionProps>
DescriptionComponentFC<FieldDescriptionProps>
DescriptionComponentFC<FieldDescriptionProps>
DescriptionComponentFC<FieldDescriptionProps>
forwardedAsundefined
forwardedAsundefined
helpReactNode
helpReactNode
helpReactNode
helpReactNode
HelpComponentFC<FieldHelpProps>
HelpComponentFC<FieldHelpProps>
HelpComponentFC<FieldHelpProps>
HelpComponentFC<FieldHelpProps>
htmlForstring | number
htmlForstring | number
htmlForstring | number
htmlForstring | number
layoutFormLayout
layoutFormLayout
layoutFormLayout
layoutFormLayout
requiredboolean
requiredboolean
requiredboolean
requiredboolean
sizeTshirtSize
sizeTshirtSize
sizeTshirtSize
sizeTshirtSize
themeany
themeany

Return

The return is of type ReactElement<WithOptionalTheme<