@coreui/react
Version:
UI Components Library for React.js
21 lines (17 loc) • 879 B
JavaScript
var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js');
var React = require('react');
var PropTypes = require('prop-types');
var index = require('../../_virtual/index.js');
var CDropdownItemPlain = React.forwardRef(function (_a, ref) {
var children = _a.children, _b = _a.as, Component = _b === void 0 ? 'span' : _b, className = _a.className, rest = tslib_es6.__rest(_a, ["children", "as", "className"]);
return (React.createElement(Component, tslib_es6.__assign({ className: index.default('dropdown-item-text', className) }, rest, { ref: ref }), children));
});
CDropdownItemPlain.propTypes = {
as: PropTypes.elementType,
children: PropTypes.node,
className: PropTypes.string,
};
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
exports.CDropdownItemPlain = CDropdownItemPlain;
//# sourceMappingURL=CDropdownItemPlain.js.map
;