Fixed tsconfig issue
This commit is contained in:
parent
9267b13f70
commit
9cdcb4e4d2
|
@ -9,7 +9,6 @@ import {
|
|||
} from '@microsoft/sp-property-pane';
|
||||
import { BaseClientSideWebPart, WebPartContext } from '@microsoft/sp-webpart-base';
|
||||
|
||||
import * as strings from 'PersonalGreetingWebPartStrings';
|
||||
import PersonalGreeting from './components/PersonalGreeting';
|
||||
import { IPersonalGreetingProps } from './components/IPersonalGreetingProps';
|
||||
import { PropertyFieldColorPicker, PropertyFieldColorPickerStyle } from '@pnp/spfx-property-controls/lib/PropertyFieldColorPicker';
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
import * as React from 'react';
|
||||
import styles from './PersonalGreeting.module.scss';
|
||||
import { IPersonalGreetingProps } from './IPersonalGreetingProps';
|
||||
import { escape } from '@microsoft/sp-lodash-subset';
|
||||
import { CommandBar, ICommandBarItemProps } from 'office-ui-fabric-react/lib/CommandBar';
|
||||
import { Placeholder } from "@pnp/spfx-controls-react/lib/Placeholder";
|
||||
|
||||
|
||||
export default class PersonalGreeting extends React.Component<IPersonalGreetingProps, {}> {
|
||||
public render(): React.ReactElement<IPersonalGreetingProps> {
|
||||
|
||||
|
@ -17,8 +14,8 @@ export default class PersonalGreeting extends React.Component<IPersonalGreetingP
|
|||
|
||||
return (
|
||||
<div className={ styles.personalGreeting }>
|
||||
{this.props.greetingText == null ?
|
||||
<Placeholder iconName='Edit' iconText='Configure the web part' description='Please configure the web part' buttonLabel='Configure' onConfigure={this._onConfigure} />
|
||||
{this.props.greetingText == null ?
|
||||
<Placeholder iconName='Edit' iconText='Configure the web part' description='Please configure the web part' buttonLabel='Configure' onConfigure={this._onConfigure} />
|
||||
: <div className={ styles.title } style={custStyles}>{this.props.greetingText} {this.props.context.pageContext.user.displayName}</div>
|
||||
}
|
||||
</div>
|
||||
|
|
|
@ -30,10 +30,11 @@
|
|||
"esModuleInterop": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"lib"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue