Skip to content

ClickyExportDialog

ClickyExportDialog picks a format and a range, then downloads. It exists because the same choice as a menu was 16 rows — every format times every range — which pushed everything else in that menu out of reach and still truncated the one thing worth reading: what each range costs.

Source

import { ClickyExportDialog } from "@flanksource/clicky-ui/data";

No dedicated Storybook demo is available for this component yet.

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
allowCloseWhilePending boolean false —
formats* ClickyExportFormatOption[] — —
onClose* (…) => void — —
onDownload* (…) => void | Promise<void> — Runs the export. Rejecting shows the reason without closing the dialog.
open* boolean — —
pendingContent ReactNode — —
scopes* ClickyExportScopeOption[] — —
title string Export —