@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
23 lines • 939 B
JavaScript
/** @component modal */
import React from 'react';
import PropTypes from 'prop-types';
/**
* @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards.
**/
var ModalFooter = function (props) {
var className = props.className, children = props.children;
return (React.createElement("div", { className: 'md-modal__footer' + "".concat((className && " ".concat(className)) || '') }, children));
};
ModalFooter.propTypes = {
/** @prop Children nodes to render inside of ModalFooter | null */
children: PropTypes.node,
/** @prop Optional css class names | '' */
className: PropTypes.string,
};
ModalFooter.defaultProps = {
children: null,
className: '',
};
ModalFooter.displayName = 'ModalFooter';
export default ModalFooter;
//# sourceMappingURL=index.js.map