@yandex/ui
Version:
Yandex UI components
15 lines (14 loc) • 614 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Label = void 0;
var tslib_1 = require("tslib");
var react_1 = tslib_1.__importDefault(require("react"));
var Textinput_1 = require("../Textinput");
require("./Textinput-Label.css");
var Label = function (_a) {
var floated = _a.floated, className = _a.className, props = tslib_1.__rest(_a, ["floated", "className"]);
return (react_1.default.createElement("label", tslib_1.__assign({ className: Textinput_1.cnTextinput('Label', {
floated: floated,
}, [className]) }, props)));
};
exports.Label = Label;