@talend/react-bootstrap
Version:
Bootstrap 3 components built with React
21 lines • 684 B
JavaScript
import classNames from 'classnames';
import React from 'react';
import { bsClass, bsSizes, getClassSet, splitBsProps } from './utils/bootstrapUtils';
import { Size } from './utils/StyleConfig';
import { jsx as _jsx } from "react/jsx-runtime";
class Well extends React.Component {
render() {
const {
className,
...props
} = this.props;
const [bsProps, elementProps] = splitBsProps(props);
const classes = getClassSet(bsProps);
return /*#__PURE__*/_jsx("div", {
...elementProps,
className: classNames(className, classes)
});
}
}
export default bsClass('well', bsSizes([Size.LARGE, Size.SMALL], Well));
//# sourceMappingURL=Well.js.map