"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[7076],{"./packages/data/dataLoad.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>dataLoad_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const dataLoad_stories={title:"Data/dataLoad",argTypes:{callback:{control:{},description:"A function that is called when the final data is loaded. It is passed 2 variables, any error present and the data loaded.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"function"}},formatter:{control:{},description:"An optional formatter function that is run on the loaded data.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"function"}},key:{control:{type:"text"},description:"The key in the `this` context to save the resulting data to.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"string"}},path:{control:{type:"array"},description:"The path to the file or url to be loaded. Also support array of paths strings. If an Array of objects is passed, the xhr request logic is skipped.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"array | string"}}},parameters:{docs:{description:{component:"Loads data from a filepath or URL, converts it to a valid JSON object, and returns it to a callback function."}}}}}}]);