UNPKG

playball

Version:

Watch MLB games from the comfort of your terminal

51 lines 1.81 kB
import React from 'react'; import Count from "./Count.js"; import Bases from "./Bases.js"; import LineScore from "./LineScore.js"; import Matchup from "./Matchup.js"; import AtBat from "./AtBat.js"; import AllPlays from "./AllPlays.js"; import InningDisplay from "./InningDisplay.js"; function LiveGame() { return /*#__PURE__*/React.createElement("element", null, /*#__PURE__*/React.createElement("element", { top: 0, left: 1, width: "100%-1", height: 3 }, /*#__PURE__*/React.createElement("element", { left: 0, width: 2 }, /*#__PURE__*/React.createElement(InningDisplay, null)), /*#__PURE__*/React.createElement("element", { left: 5, width: "25%-5" }, /*#__PURE__*/React.createElement(Count, null)), /*#__PURE__*/React.createElement("element", { left: "25%+1", width: "25%" }, /*#__PURE__*/React.createElement(Bases, null)), /*#__PURE__*/React.createElement("element", { left: "50%+2", width: "50%-2" }, /*#__PURE__*/React.createElement(LineScore, null))), /*#__PURE__*/React.createElement("line", { orientation: "horizontal", type: "line", top: 3, width: "100%" }), /*#__PURE__*/React.createElement("element", { top: 4, left: 1 }, /*#__PURE__*/React.createElement("element", { width: "50%-1" }, /*#__PURE__*/React.createElement("element", { top: 0, height: 2 }, /*#__PURE__*/React.createElement(Matchup, null)), /*#__PURE__*/React.createElement("element", { top: 3 }, /*#__PURE__*/React.createElement(AtBat, null))), /*#__PURE__*/React.createElement("line", { orientation: "vertical", type: "line", left: "50%" }), /*#__PURE__*/React.createElement("element", { left: "50%+2", width: "50%-2" }, /*#__PURE__*/React.createElement(AllPlays, null)))); } export default LiveGame;