UNPKG

@gpa-gemstone/react-interactive

Version:
20 lines (19 loc) 742 B
import * as React from 'react'; import { Application } from '@gpa-gemstone/application-typings'; export interface IProps { /** * Optional label to be used */ Label?: string; /** * Optional style to be used on component */ Style?: React.CSSProperties; /** Needed to specify whether a user can access a section via roles. * Note: Individual pages will still need to be marked with roles as well for page access control if using non-legacy navigation. */ RequiredRoles?: Application.Types.SecurityRoleName[]; /** Allows section to be collapsable when navbar isn't, default true */ AllowCollapse?: boolean; } declare const Section: React.FunctionComponent<IProps>; export default Section;