Options
All
  • Public
  • Public/Protected
  • All
Menu

Module styled

Index

Type Aliases

StyleBuilder<S, P>: S | ((props: P) => S | S[] | (() => S | S[]))

Type Parameters

  • S

  • P

StyleCombiner<S, R>: ((styles: S[], props: Record<string, any>) => R)

Type Parameters

  • S

  • R

Type declaration

    • (styles: S[], props: Record<string, any>): R
    • Parameters

      • styles: S[]
      • props: Record<string, any>

      Returns R

Variables

styled: Styled = ...

Functions

  • nativeStyleCombiner<S>(styles: S[], props: Record<string, any>): { style: any[] }
  • webStyleCombiner<S>(styles: S[], props: Record<string, any>): { className: string }

Generated using TypeDoc