Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VanillaRendererProps

Additional renderer props specific to vanilla renderers.

Hierarchy

Index

Properties

Optional className

className: string

Optional classNames

classNames: {}

Type declaration

  • [className: string]: string

Methods

Optional getStyle

  • getStyle(string: string, ...args: any[]): string[]
  • Returns all classes associated with the given style.

    Parameters

    • string: string

      the style name

    • Rest ...args: any[]

      any additional args necessary to calculate the classes

    Returns string[]

    array of class names

Optional getStyleAsClassName

  • getStyleAsClassName(string: string, ...args: any[]): string
  • Returns all classes associated with the given style as a single class name.

    Parameters

    • string: string

      the style name

    • Rest ...args: any[]

      any additional args necessary to calculate the classes

    Returns string

    array of class names

Generated using TypeDoc