ExportControlsComponentProps
Props for the ExportControlsComponent
Properties
allowJpgExport?
optionalallowJpgExport:boolean
Defaults to true.
allowPngExport?
optionalallowPngExport:boolean
Defaults to true.
allowSvgExport?
optionalallowSvgExport:boolean
Defaults to true.
imageOptions?
optionalimageOptions:ImageExportUIOptions
Options for image exports.
label?
optionallabel:string
What to show in the label, if visible. Defaults to "Export:".
labelProperty?
optionallabelProperty:string
The name of the property that holds the label for a vertex
margins?
optionalmargins:PointXY
Optional margins to apply to both SVG and image exports. Will not override any margins specified in svgOptions or imageOptions.
showLabel?
optionalshowLabel:boolean
Whether or not to show a label in front of the buttons. Defaults to true.
surfaceId?
optionalsurfaceId:string
Optional ID of the surface to attach to. It is better to nest this component inside a SurfaceComponent or SurfaceProvider.
svgOptions?
optionalsvgOptions:SvgExportUIOptions
Options for SVG exports.