Packages

o

fabric

hooks

object hooks extends UseCustomizableHooks

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. hooks
  2. UseCustomizableHooks
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def useCustomizable[SP <: Object, S <: IStyleSetTag](fields: Seq[String] = Nil, scope: UndefOr[String] = js.undefined): StandardSettingsWithTheme[SP, S]

    Hook to get customized theme in a function component.

    Hook to get customized theme in a function component. It's the same as using a customizable decorator or the styled HOC. fields automatically has theme and styles added so the return value has those values.

    Definition Classes
    UseCustomizableHooks
    See also

    https://github.com/microsoft/fluentui/issues/9858

  2. def useTheme[SP <: Object, S <: IStyleSetTag](): ITheme

    Get the theme via Customizations which is different than the global theme obtained through getTheme() apparently.

    Get the theme via Customizations which is different than the global theme obtained through getTheme() apparently.

    Definition Classes
    UseCustomizableHooks