import { IPropertyPaneConfiguration , PropertyPaneTextField } from '@microsoft/sp-property-pane' ; import { PortfolioInsights , IPortfolioInsightsProps } from 'components/PortfolioInsights' ; import 'office-ui-fabric-react/dist/css/fabric.min.css' ; import * as strings from 'PortfolioWebPartsStrings' ; import { BasePortfolioWebPart } from 'webparts/@basePortfolioWebPart' ; export default class PortfolioInsightsWebPart extends BasePortfolioWebPart < IPortfolioInsightsProps > { public render ( ) { this . renderComponent < IPortfolioInsightsProps > ( PortfolioInsights ) ; } public async onInit ( ) { await super . onInit ( ) ; } public getPropertyPaneConfiguration ( ) { return { pages : [ { groups : [ { groupName : strings . ConfigurationGroupName , groupFields : [ PropertyPaneTextField ( 'chartConfigurationListName' , { label : strings . ChartConfigurationListNameLabel } ) , PropertyPaneTextField ( 'columnConfigListName' , { label : strings . ColumnConfigListNameLabel } ) , PropertyPaneTextField ( 'columnsListName' , { label : strings . ColumnsListNameLabel } ) , PropertyPaneTextField ( 'viewsListName' , { label : strings . ViewsListNameLabel } ) ] } ] } ] } ; } }