@coreui/react-pro
Version:
UI Components Library for React.js
18 lines (15 loc) • 692 B
JavaScript
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
import classNames from '../../_virtual/index.js';
const CSidebarToggler = forwardRef((_a, ref) => {
var { children, className } = _a, rest = __rest(_a, ["children", "className"]);
return (React.createElement("button", Object.assign({ className: classNames('sidebar-toggler', className), ref: ref }, rest), children));
});
CSidebarToggler.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
};
CSidebarToggler.displayName = 'CSidebarToggler';
export { CSidebarToggler };
//# sourceMappingURL=CSidebarToggler.js.map