"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const core_1 = require("@material-ui/core");
const FolderOpen_1 = tslib_1.__importDefault(require("@material-ui/icons/FolderOpen"));
function WxEmpty({ title, icon }) {
    return (react_1.default.createElement(core_1.Box, { display: "flex", width: "100%", height: "100%", alignItems: "center", justifyContent: "center", fontSize: 64, flexDirection: "column" },
        react_1.default.createElement(core_1.Box, null, icon ? icon : react_1.default.createElement(FolderOpen_1.default, { color: "primary", fontSize: "inherit" })),
        react_1.default.createElement(core_1.Typography, { variant: "h3", color: "textSecondary" }, title)));
}
exports.default = WxEmpty;
