@gpa-gemstone/react-interactive
Version:
Interactive UI Components for GPA products
20 lines (19 loc) • 773 B
TypeScript
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: (props: React.PropsWithChildren<IProps>) => JSX.Element | null;
export default Section;