Skip to main content

ExportControlsComponentProps

Extends​

  • DOMAttributes<HTMLDivElement>

Properties​

allowJpgExport?​

optional allowJpgExport: boolean

Defaults to true.


allowPngExport?​

optional allowPngExport: boolean

Defaults to true.


allowSvgExport?​

optional allowSvgExport: boolean

Defaults to true.


className?​

optional className: string

Optional class name to set on the element.


imageOptions?​

optional imageOptions: ImageExportUIOptions

Options for image exports.


label?​

optional label: string

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


showLabel?​

optional showLabel: boolean

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


svgOptions?​

optional svgOptions: SvgExportUIOptions

Options for SVG exports.