@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
18 lines (17 loc) • 681 B
TypeScript
import React from 'react';
export interface SideSheetProps {
/** Whether the modal should be visible or not */
open: boolean;
/** Callback fired when the component requests to be closed */
onClose: () => void;
/** The id of the HTML node that contains the title of the modal */
'aria-labelledby'?: string;
/** The id of the HTML node that contains the text of the modal */
'aria-describedby'?: string;
}
/**
* A dialog variation that helps with grabbing the user's attention by blurring the background and
* presenting an element that requires action from the user
*/
declare const SideSheet: React.FC<SideSheetProps>;
export default SideSheet;