@gpa-gemstone/react-interactive
Version:
Interactive UI Components for GPA products
13 lines (12 loc) • 555 B
TypeScript
import * as React from 'react';
import { Application } from '@gpa-gemstone/application-typings';
export interface IProps {
Label?: string;
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[];
AllowCollapse?: boolean;
}
declare const Section: React.FunctionComponent<IProps>;
export default Section;