<gh_stars>0
{"ast":null,"code":"var _jsxFileName = \"/Users/john/Desktop/lab-story-time/client/src/components/StoryGame/GameBox.js\";\nimport React, { useState, useEffect } from 'react';\nimport data from './stories.json';\nimport TextBox from './TextBox';\nimport './GameBox.css';\nexport default function GameBox() {\n  const [userName, setuserName] = useState('');\n  const story = data.stories; // Formate to find using regex\n\n  function handleChange() {}\n\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"game2\",\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 17,\n      columnNumber: 3\n    }\n  }, /*#__PURE__*/React.createElement(\"h5\", {\n    style: {\n      backgroundColor: '#DDDBD7',\n      textAlign: 'center',\n      backgroundPosition: 'top center'\n    },\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 18,\n      columnNumber: 3\n    }\n  }, /*#__PURE__*/React.createElement(TextBox, {\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 26,\n      columnNumber: 9\n    }\n  })));\n}","map":{"version":3,"sources":["/Users/john/Desktop/lab-story-time/client/src/components/StoryGame/GameBox.js"],"names":["React","useState","useEffect","data","TextBox","GameBox","userName","setuserName","story","stories","handleChange","backgroundColor","textAlign","backgroundPosition"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,SAA1B,QAA2C,OAA3C;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,OAAP,MAAoB,WAApB;AACA,OAAO,eAAP;AAGA,eAAe,SAASC,OAAT,GAAmB;AAC9B,QAAM,CAACC,QAAD,EAAWC,WAAX,IAA0BN,QAAQ,CAAC,EAAD,CAAxC;AACA,QAAMO,KAAK,GAAGL,IAAI,CAACM,OAAnB,CAF8B,CAG9B;;AAEF,WAASC,YAAT,GAAuB,CAEtB;;AAED,sBACA;AAAK,IAAA,SAAS,EAAG,OAAjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBACA;AACC,IAAA,KAAK,EAAE;AACNC,MAAAA,eAAe,EAAE,SADX;AAENC,MAAAA,SAAS,EAAE,QAFL;AAGNC,MAAAA,kBAAkB,EAAE;AAHd,KADR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAQM,oBAAC,OAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IARN,CADA,CADA;AAcD","sourcesContent":["import React, { useState, useEffect } from 'react';\nimport data from './stories.json';\nimport TextBox from './TextBox';\nimport './GameBox.css';\n\n\nexport default function GameBox() {\n    const [userName, setuserName] = useState('');\n    const story = data.stories;\n    // Formate to find using regex\n\n  function handleChange(){\n\n  }\n\n  return (\n  <div className = \"game2\">\n  <h5 \n   style={{\n    backgroundColor: '#DDDBD7',\n    textAlign: 'center',\n    backgroundPosition: 'top center'\n      \n       }}>\n\n        <TextBox/>\n  </h5>  \n </div>\n  )\n}"]},"metadata":{},"sourceType":"module"}