• Sets the component's defaultProps.theme so it can reference theme properties without needing to be wrapped in a ThemeProvider.

    Type Parameters

    • T extends string & StyledComponentBase<any, any, {}, never, T> & NonReactStatics<any, {}>

    Parameters

    • Component: T

    Returns T