UNPKG

@gpa-gemstone/react-interactive

Version:
20 lines (19 loc) 613 B
import { Application } from '@gpa-gemstone/application-typings'; import * as React from 'react'; export interface IExternalPageProps { OnClick: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void; /** * Roles allowed to see this item */ RequiredRoles?: Application.Types.SecurityRoleName[]; /** * Text label for the nav item */ Label?: string; /** * Icon to display next to the label */ Icon?: React.ReactNode; } declare const ExternalPage: (props: React.PropsWithChildren<IExternalPageProps>) => JSX.Element | null; export default ExternalPage;