UNPKG

@gpa-gemstone/react-interactive

Version:
19 lines (18 loc) 777 B
import { Application } from '@gpa-gemstone/application-typings'; import * as React from 'react'; export interface IProps { /** Needed to specify whether a user can access a NavLink via Administrator role. */ RequiredRoles?: Application.Types.SecurityRoleName[]; /** Name of the page thats needed for Routing */ Name: string; /** Name of the NavLink on the sidebar */ Label?: string; /** Icon that will show next to your NavLink */ Icon?: React.ReactNode; /** Name of the path or paths thats used for Dynamic Routing with Name being the root of the path*/ Paths?: string[]; /** Pages where this link should remain acitive */ OtherActivePages?: string[]; } declare const Page: React.FunctionComponent<IProps>; export default Page;