@gpa-gemstone/react-interactive
Version:
Interactive UI Components for GPA products
39 lines (38 loc) • 882 B
TypeScript
import * as React from 'react';
interface IProps {
/**
* Minimum width (in % of total)
*/
MinWidth: number;
/**
* Maximum Width (in % of total)
*/
MaxWidth: number;
/**
* Default Width (in % of total)
*/
Width: number;
/**
* Indicates the initial state of the drawer
*/
Open: boolean;
/**
* The Title used for this drawer
*/
Title: string;
/**
* This will be called with a callback to set the Drawer to open or closed form the parent
* @param func
* @returns
*/
GetOverride?: (func: (open: boolean) => void) => void;
/**
* Callback when the Drawer changes
* @param open
* @returns
*/
OnChange?: (open: boolean) => void;
ShowClosed?: boolean;
}
declare const SplitDrawer: React.FunctionComponent<IProps>;
export default SplitDrawer;