refactor(react-tree-orgchart): use standard casing for file and class
This commit is contained in:
parent
3156c3f710
commit
319029b7cf
|
@ -1,7 +1,7 @@
|
||||||
import { WebPartContext } from "@microsoft/sp-webpart-base";
|
import { WebPartContext } from "@microsoft/sp-webpart-base";
|
||||||
import { sp } from '@pnp/sp';
|
import { sp } from '@pnp/sp';
|
||||||
|
|
||||||
export default class spservices {
|
export default class SPServices {
|
||||||
constructor(private context: WebPartContext) {
|
constructor(private context: WebPartContext) {
|
||||||
sp.setup({
|
sp.setup({
|
||||||
spfxContext: this.context
|
spfxContext: this.context
|
|
@ -11,7 +11,7 @@ import 'react-sortable-tree/style.css';
|
||||||
import { IPersonaSharedProps, Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';
|
import { IPersonaSharedProps, Persona, PersonaSize } from 'office-ui-fabric-react/lib/Persona';
|
||||||
import { IconButton } from 'office-ui-fabric-react/lib/Button';
|
import { IconButton } from 'office-ui-fabric-react/lib/Button';
|
||||||
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
|
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
|
||||||
import spservice from '../../../services/spservices';
|
import spservice from '../../../services/SPServices';
|
||||||
import { ITreeChildren } from './ITreeChildren';
|
import { ITreeChildren } from './ITreeChildren';
|
||||||
import { ITreeData } from './ITreeData';
|
import { ITreeData } from './ITreeData';
|
||||||
import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner';
|
import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/components/Spinner';
|
||||||
|
|
Loading…
Reference in New Issue