ThemeNameConsumer

Example
Theme: seekAnz
The active theme is seekAnz.
Theme: seekBusiness
The active theme is seekBusiness.
Theme: jobsDbRebrand
The active theme is jobsDbRebrand.
Theme: jobsDb
The active theme is jobsDb.
Theme: jobStreet
The active theme is jobStreet.
Theme: jobStreetClassic
The active theme is jobStreetClassic.
Theme: wireframe
The active theme is wireframe.
Code:
<ThemeNameConsumer>
  {themeName => <span>The active theme is {themeName}.</span>}
</ThemeNameConsumer>

Required props

children
(name: string) => ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null) | (new (props: any) => Component<...>)>

Further References