"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecordLabel = void 0;
var react_1 = __importDefault(require("react"));
var Typography_1 = __importDefault(require("@mui/material/Typography"));
var styles_1 = require("./styles");
var RecordLabel = function (_a) {
    var description = _a.description, children = _a.children;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement(Typography_1.default, { className: styles.label },
        description && react_1.default.createElement("span", { className: styles.description }, description),
        children));
};
exports.RecordLabel = RecordLabel;
