Interface ExportControlsComponentProps

Props for the export controls component.

interface ExportControlsComponentProps {
    allowJpgExport?: boolean;
    allowPngExport?: boolean;
    allowSvgExport?: boolean;
    imageOptions?: ImageExportUIOptions;
    label?: string;
    showLabel?: boolean;
    svgOptions?: SvgExportUIOptions;
}

Hierarchy

  • DOMAttributes<HTMLDivElement>
    • ExportControlsComponentProps

Properties

allowJpgExport?: boolean

Defaults to true.

allowPngExport?: boolean

Defaults to true.

allowSvgExport?: boolean

Defaults to true.

imageOptions?: ImageExportUIOptions

Options for image exports.

label?: string

What to show in the label, if visible. Defaults to "Export:".

showLabel?: boolean

Whether or not to show a label in front of the buttons. Defaults to true.

svgOptions?: SvgExportUIOptions

Options for SVG exports.

Version :