Provider: ((this: void, theme: Theme) => StypRules)

Type declaration

    • (this: void, theme: Theme): StypRules
    • Theme style provider function.

      This function is called at most once per theme to apply styles to the latter. E.g. by declaring CSS rules.

      This function is used as an identifier of particular style and can be extended using Extension.

      It is not absolutely necessary to register style provider. It will be applied on request anyway.

      Returns

      Dynamically updated CSS rule set containing the applied styling.

      Parameters

      • this: void
      • theme: Theme

        A theme to apply styling to.

      Returns StypRules

Generated using TypeDoc