office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
1 lines • 920 B
JavaScript
define([], function() { return "import * as React from 'react';\r\n\r\nexport interface ILayerProps extends React.HTMLProps<HTMLDivElement> {\r\n /** Callback for when the layer is mounted. */\r\n onLayerMounted?: () => void;\r\n\r\n /**\r\n * Callback for when the layer is mounted.\r\n */\r\n onLayerDidMount?: () => void;\r\n\r\n /**\r\n * Callback for when the layer is unmounted.\r\n */\r\n onLayerWillUnmount?: () => void;\r\n\r\n /**\r\n * The optional id property provided on a LayerHost that this Layer should render within. The LayerHost does\r\n * not need to be immediately available but once has been rendered, and if missing, we'll avoid trying\r\n * to render the Layer content until the host is available. If an id is not provided, we will render the Layer\r\n * content in a fixed position element rendered at the end of the document.\r\n */\r\n hostId?: string;\r\n}\r\n"; });