Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConditionalStyles<Props, RuleNameSubsetReferencableInNestedSelectors, RuleName>

Object with styles and condition, mediaQuery on which these styles should be used

Type parameters

  • Props: Record<string, unknown>

  • RuleNameSubsetReferencableInNestedSelectors: string

  • RuleName: string

Hierarchy

  • ConditionalStyles

Index

Properties

styles: Styles<Props, RuleNameSubsetReferencableInNestedSelectors, RuleName>

Methods

  • condition(props: Props): boolean
  • Parameters

    • props: Props

    Returns boolean

  • mediaQueryGenerator(theme: Theme, props: Props): null | string

Generated using TypeDoc