UNPKG

@makeen.io/material-ui-kit

Version:
29 lines (11 loc) 1.23 kB
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";function _templateObject() {var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n\n .empty-table-preview {\n color: #bbb;\n text-align: center;\n\n .preview-icon {\n font-size: 2.5rem;\n }\n\n .preview-message {\n font-size: 18px;\n }\n }\n"]);_templateObject = function _templateObject() {return data;};return data;}import React from "react"; import { MdLayersClear } from "react-icons/md"; import styled from "styled-components"; var EmptyTableWrapper = styled.div(_templateObject()); var EmptyTable = function EmptyTable(_ref) {var theme = _ref.theme;return /*#__PURE__*/React.createElement(EmptyTableWrapper, { theme: theme }, /*#__PURE__*/ React.createElement("div", { className: "empty-table-preview" }, /*#__PURE__*/ React.createElement("div", { className: "preview-icon" }, /*#__PURE__*/ React.createElement(MdLayersClear, null)), /*#__PURE__*/ React.createElement("div", { className: "preview-message" }, "Nothing to show here for now")));}; export default EmptyTable; //# sourceMappingURL=EmptyTable.js.map