fix: rebase

This commit is contained in:
David Nguyen
2025-06-12 17:46:03 +10:00
parent e3ce7f94e6
commit 5f17288af6
12 changed files with 210 additions and 25 deletions
@@ -16,7 +16,7 @@ export type DocumentDialogProps = {
/**
* A dialog which renders the provided document.
*/
export default function DocumentDialog({ trigger, documentData, ...props }: DocumentDialogProps) {
export const DocumentDialog = ({ trigger, documentData, ...props }: DocumentDialogProps) => {
const [documentLoaded, setDocumentLoaded] = useState(false);
const onDocumentLoad = () => {
@@ -58,4 +58,4 @@ export default function DocumentDialog({ trigger, documentData, ...props }: Docu
</DialogPortal>
</Dialog>
);
}
};