Skip to main content

Function: styled()

styled<T>(Component): ForwardRefExoticComponent<PropsWithoutRef<WithStyledProps<T>> & RefAttributes<unknown>>

Defined in: hocs/styled.tsx:6

Type Parameters​

T​

T extends object

Parameters​

Component​

ComponentType<T>

Returns​

ForwardRefExoticComponent<PropsWithoutRef<WithStyledProps<T>> & RefAttributes<unknown>>