Type alias StyleTaggedTemplateFunction<TProps, TTheme>

StyleTaggedTemplateFunction<TProps, TTheme>: (<TExtraProps>(template: TemplateStringsArray, ...values: StyleTemplateValues<TExtraProps & TProps, readonly [TTheme]>) => ForwardRefExoticComponent<TExtraProps & TProps>)

Type Parameters

Type declaration

    • <TExtraProps>(template: TemplateStringsArray, ...values: StyleTemplateValues<TExtraProps & TProps, readonly [TTheme]>): ForwardRefExoticComponent<TExtraProps & TProps>
    • Intermediate tagged template function returned by the styled function.

      Type Parameters

      • TExtraProps extends {} = {}

      Parameters

      • template: TemplateStringsArray
      • Rest ...values: StyleTemplateValues<TExtraProps & TProps, readonly [TTheme]>

      Returns ForwardRefExoticComponent<TExtraProps & TProps>

Generated using TypeDoc