You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
485 B
33 lines
485 B
7 years ago
|
import PropTypes from 'prop-types';
|
||
|
import React, { Component } from 'react';
|
||
|
import styles from './ModalFooter.css';
|
||
|
|
||
|
class ModalFooter extends Component {
|
||
|
|
||
|
//
|
||
|
// Render
|
||
|
|
||
|
render() {
|
||
|
const {
|
||
|
children,
|
||
|
...otherProps
|
||
|
} = this.props;
|
||
|
|
||
|
return (
|
||
|
<div
|
||
|
className={styles.modalFooter}
|
||
|
{...otherProps}
|
||
|
>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
ModalFooter.propTypes = {
|
||
|
children: PropTypes.node
|
||
|
};
|
||
|
|
||
|
export default ModalFooter;
|