PromoCursed/node_modules/antd/lib/skeleton/Title.js

31 lines
872 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
"use strict";
"use client";
/* eslint-disable jsx-a11y/heading-has-content */
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
const Title = _ref => {
let {
prefixCls,
className,
width,
style
} = _ref;
return (
/*#__PURE__*/
// biome-ignore lint/a11y/useHeadingContent: HOC here
React.createElement("h3", {
className: (0, _classnames.default)(prefixCls, className),
style: Object.assign({
width
}, style)
})
);
};
var _default = exports.default = Title;