realue • Docs
realue / normalize
normalize<
T
,K
>(props
,propertyName
):NevoProps
<T
>
Normalizes the provided props
from the provided propertyName
.
• T
• K extends string
• props: NevoPropsAdapted
<T
, K
>
Propertyes according to the Nevo pattern.
• propertyName: K
Name of the value property.
NevoProps
<T
>
<SomeComponent {...normalize("option", props)} />