"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[1567],{"./packages/export/saveElement.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>saveElement_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const saveElement_stories={title:"Export/saveElement",argTypes:{elem:{control:{type:"htmlelement"},description:"A single element to be saved to one file.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"htmlelement"}},options:{control:{type:"object"},description:"Additional options to specify.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"object"}},"options.callback":{control:{},description:"Function to be invoked after saving is complete.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"function"}},"options.filename":{control:{type:"text"},defaultValue:'"download"',description:"Filename for the downloaded file, without the extension.",table:{defaultValue:{summary:'"download"'}},type:{required:!1,summary:"string"}},"options.type":{control:{type:"text"},defaultValue:'"png"',description:'File type of the saved document. Accepted values are `"png"` and `"jpg"`.',table:{defaultValue:{summary:'"png"'}},type:{required:!1,summary:"string"}},renderOptions:{control:{type:"object"},description:"Custom options to be passed to the html-to-image function.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"object"}}},parameters:{docs:{description:{component:"Downloads an HTML Element as a bitmap PNG image."}}}}}}]);