@yarcl/react
Preparing search index...
index
ComponentSize
Type Alias ComponentSize<C>
ComponentSize
:
C
extends
keyof
ConfiguredComponents
?
ConfiguredComponents
[
C
]
extends
{
allowedSizes
:
readonly
(
infer
S
)
[]
}
?
Extract
<
S
,
Size
>
:
Extract
<
keyof
Config
[
"sizes"
]
,
string
>
:
Extract
<
keyof
Config
[
"sizes"
]
,
string
>
A component's allowed size keys, or every global size when it has no restriction.
Type Parameters
C
extends
ComponentName
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@yarcl/react
Loading...
A component's allowed size keys, or every global size when it has no restriction.