- useOpenDocument(options?): {
pickData: ((request: IRequest) => void);
render: (() => Element);
} Returns {
pickData: ((request: IRequest) => void);
render: (() => Element);
}
- An object containing the following properties:
pickData: ((request: IRequest) => void)
- (request): void
Returns void
render: (() => Element)
- (): Element
Returns Element
A hook which allows displaying and interacting with a document preview.