@microsoft/sp-webpart-base
Version:
SharePoint Framework support for building web parts
14 lines • 667 B
TypeScript
import type { IPropertyPaneCustomFieldProps, IPropertyPaneField } from '@microsoft/sp-property-pane';
import type { IAudienceFormOptions } from './IAudienceFormOptions';
/**
* Interface for the AudienceFormService, which provides access to the AudienceForm component.
*
* @internal
*/
export interface IAudienceFormService {
/**
* Renders the AudienceForm component as a property pane field, passing the audienceFormOptions parameter as the React props.
*/
renderAudienceFormPropertyPaneField?: (audienceFormOptions: IAudienceFormOptions) => IPropertyPaneField<IPropertyPaneCustomFieldProps>;
}
//# sourceMappingURL=IAudienceFormService.d.ts.map