"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[2133],{"./packages/dom/textWidth.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>textWidth_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const textWidth_stories={title:"Dom/textWidth",argTypes:{style:{control:{type:"object"},description:"An object of CSS font styles to apply. Accepts any of the valid [CSS font property](http://www.w3schools.com/cssref/pr_font_font.asp) values.",table:{defaultValue:{summary:"undefined"}},type:{required:!1,summary:"object"}},text:{control:{type:"text"},description:"Can be either a single string or an array of strings to analyze.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"string | array"}}},parameters:{docs:{description:{component:"Given a text string, returns the predicted pixel width of the string when placed into DOM."}}}}}}]);