UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

1 lines 1.12 kB
module.exports = "/* tslint:disable:no-unused-variable */\nimport * as React from 'react';\n/* tslint:enable:no-unused-variable */\nimport { Popup } from './Popup';\n\nexport interface IPopupProps extends React.HTMLProps<Popup> {\n /**\n * Aria role for popup\n */\n role?: string;\n\n /**\n * Defines the element id referencing the element containing label text for popup.\n */\n ariaLabelledBy?: string;\n\n /**\n * Defines the element id referencing the element containing the description for the popup.\n */\n ariaDescribedBy?: string;\n\n /**\n * A callback function for when the popup is dismissed from the close button or light dismiss. If provided, will\n * handle escape keypresses and call this. The event will be stopped/canceled.\n */\n onDismiss?: (ev?: React.MouseEvent<HTMLElement>) => any;\n\n /**\n * Optional class name for the root popup div.\n */\n className?: string;\n\n /**\n * If true, the unmounting of this component will cause focus to be restored to the element that had focus when first mounted.\n * @default true\n */\n shouldRestoreFocus?: boolean;\n}";