@zendesk/react-measure-timing-hooks
Version:
react hooks for measuring time to interactive and time to render of components
20 lines • 906 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LegendGroup = void 0;
/* eslint-disable import/no-extraneous-dependencies */
const react_1 = __importDefault(require("react"));
const styled_components_1 = __importDefault(require("styled-components"));
const Card_1 = require("./styled/Card");
const LegendContainer = (0, styled_components_1.default)(Card_1.Card) `
min-width: 400px;
max-height: 80px;
overflow-y: auto;
`;
const LegendGroup = ({ children }) => (react_1.default.createElement(LegendContainer, null,
react_1.default.createElement(Card_1.CardTitle, null, "Legend"),
react_1.default.createElement(Card_1.CardContent, null, children)));
exports.LegendGroup = LegendGroup;
//# sourceMappingURL=Legend.js.map
;