UNPKG

@kiwicom/orbit-components

Version:

<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"

40 lines (30 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StyledTableRow = undefined; var _react = require("react"); var React = _interopRequireWildcard(_react); var _styledComponents = require("styled-components"); var _styledComponents2 = _interopRequireDefault(_styledComponents); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } var StyledTableRow = exports.StyledTableRow = (0, _styledComponents2.default)(function (_ref) { var children = _ref.children, className = _ref.className; return React.createElement( "tr", { className: className }, children ); }).withConfig({ displayName: "TableRow__StyledTableRow" })(["box-sizing:border-box;width:100%;white-space:nowrap;"]); var TableRow = function TableRow(props) { return React.createElement( StyledTableRow, null, props.children ); }; exports.default = TableRow;