var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectDestructuringEmpty2=_interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));var _react=_interopRequireDefault(require("react"));var _propTypes=_interopRequireDefault(require("prop-types"));var _withPropsStyles=require("../../../withPropsStyles");var _=require("..");var _TableBody=require("../../TableBody");var _TableCell=require("../../TableCell");var _TableHead=require("../../TableHead");var _TableRow=require("../../TableRow");var _jsxFileName="/home/travis/build/BlueBaseJS/plugin-material-ui/src/components/Table/_stories_/Tablestories.stories.tsx";var styles=function styles(theme){return{root:{width:'100%',marginTop:theme.spacing.unit*3,overflowX:'auto'},table:{minWidth:700}};};var id=0;function createData(name,calories,fat,carbs,protein){id+=1;return{id:id,name:name,calories:calories,fat:fat,carbs:carbs,protein:protein};}var rows=[createData('Frozen yoghurt',159,6.0,24,4.0),createData('Ice cream sandwich',237,9.0,37,4.3),createData('Eclair',262,16.0,24,6.0),createData('Cupcake',305,3.7,67,4.3),createData('Gingerbread',356,16.0,49,3.9)];function SimpleTable(props){(0,_objectDestructuringEmpty2.default)(props);return _react.default.createElement(_.Table,{__source:{fileName:_jsxFileName,lineNumber:39,columnNumber:3}},_react.default.createElement(_TableHead.TableHead,{__source:{fileName:_jsxFileName,lineNumber:40,columnNumber:4}},_react.default.createElement(_TableRow.TableRow,{__source:{fileName:_jsxFileName,lineNumber:41,columnNumber:5}},_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:42,columnNumber:6}},"Dessert (100g serving)"),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:43,columnNumber:6}},"Calories"),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:44,columnNumber:6}},"Fat (g)"),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:6}},"Carbs (g)"),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:46,columnNumber:6}},"Protein (g)"))),_react.default.createElement(_TableBody.TableBody,{__source:{fileName:_jsxFileName,lineNumber:49,columnNumber:4}},rows.map(function(row){return _react.default.createElement(_TableRow.TableRow,{key:row.id,__source:{fileName:_jsxFileName,lineNumber:51,columnNumber:6}},_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:52,columnNumber:7}},row.name),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:53,columnNumber:7}},row.calories),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:54,columnNumber:7}},row.fat),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:55,columnNumber:7}},row.carbs),_react.default.createElement(_TableCell.TableCell,{__source:{fileName:_jsxFileName,lineNumber:56,columnNumber:7}},row.protein));})));}SimpleTable.propTypes={classes:_propTypes.default.object.isRequired};var _default=(0,_withPropsStyles.withPropsStyles)(styles)(SimpleTable);exports.default=_default;