fix package dependencies for new react components

This commit is contained in:
Tobias Maestrini 2024-10-05 02:07:41 +02:00
parent 3137a2ef94
commit 17d361bb6c
3 changed files with 4 additions and 4 deletions

View File

@ -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';

View File

@ -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[];

View File

@ -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) {