UNPKG

@pnp/spfx-property-controls

Version:

Reusable property pane controls for SharePoint Framework solutions

29 lines 982 B
import { IBrandFontToken } from './IPropertyFieldBrandFontPicker'; import { BaseComponentContext } from '@microsoft/sp-component-base'; /** * PropertyFieldBrandFontPickerHost properties interface */ export interface IPropertyFieldBrandFontPickerHostProps { label: string; initialValue?: string; targetProperty: string; context: BaseComponentContext; onSelectionChanged?: (option: IBrandFontToken) => void; disabled?: boolean; customFontTokens?: IBrandFontToken[]; onFontTokensLoaded?: (tokens: IBrandFontToken[]) => void; showPreview?: boolean; previewText?: string; loadingErrorMessage?: string; useSystemFallback?: boolean; } /** * PropertyFieldBrandFontPickerHost state interface */ export interface IPropertyFieldBrandFontPickerHostState { loading: boolean; fontTokens: IBrandFontToken[]; selectedToken?: IBrandFontToken; errorMessage?: string; } //# sourceMappingURL=IPropertyFieldBrandFontPickerHost.d.ts.map