fix package dependencies for new react components
This commit is contained in:
parent
3137a2ef94
commit
17d361bb6c
|
@ -4,7 +4,7 @@ import { ServiceKey, Version } from '@microsoft/sp-core-library';
|
|||
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
|
||||
import PageNavigator from './components/PageNavigator';
|
||||
import { IPageNavigatorProps } from './components/IPageNavigatorProps';
|
||||
import { INavLink } from 'office-ui-fabric-react/lib/Nav';
|
||||
import { INavLink } from '@fluentui/react/lib/Nav';;
|
||||
import { SPService } from '../../Service/SPService';
|
||||
import { IReadonlyTheme, ThemeChangedEventArgs, ThemeProvider } from '@microsoft/sp-component-base';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INavLink } from 'office-ui-fabric-react/lib/Nav';
|
||||
import { INavLink } from '@fluentui/react/lib/Nav';
|
||||
|
||||
export interface IPageNavigatorState {
|
||||
anchorLinks: INavLink[];
|
||||
|
|
|
@ -2,8 +2,8 @@ import * as React from 'react';
|
|||
import styles from './PageNavigator.module.scss';
|
||||
import { IPageNavigatorProps } from './IPageNavigatorProps';
|
||||
import { IPageNavigatorState } from './IPageNavigatorState';
|
||||
import { Nav, INavLink } from 'office-ui-fabric-react/lib/Nav';
|
||||
import { ITheme } from 'office-ui-fabric-react';
|
||||
import { Nav, INavLink } from '@fluentui/react/lib/Nav';
|
||||
import { ITheme } from '@fluentui/react';
|
||||
|
||||
export default class PageNavigator extends React.Component<IPageNavigatorProps, IPageNavigatorState> {
|
||||
constructor(props: IPageNavigatorProps) {
|
||||
|
|
Loading…
Reference in New Issue