Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp component base.themeprovider._constructor_

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-component-base > ThemeProvider > (constructor)

ThemeProvider.(constructor)

Construct a new instance of the ThemeProvider class.

Signature:

constructor(serviceScope: ServiceScope, theme?: ITheme);

Parameters

Parameter Type Description
serviceScope ServiceScope The current service scope.
theme ITheme Theme to provide.
Clone this wiki locally