UNPKG

react-adminlte

Version:

AdminLTE components written for React

28 lines (19 loc) 565 B
import React from 'react'; import classNames from 'classnames'; import {COMPONENT_CHILDREN} from '../utils'; class ModalFooter extends React.Component { render() { let {children, className, ...otherProps} = this.props; className = classNames('modal-footer', className); return ( <div className={className} {...otherProps}> {children} </div> ); } } ModalFooter.propTypes = { children: COMPONENT_CHILDREN, className: React.PropTypes.string }; export default ModalFooter;