blob: 4fae0f679ee595da6ffc6502ce4f5da1472ed359 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import React from 'react';
import PropTypes from 'prop-types';
const ModalBody = ({children, className}) => (
<div className={`sdc-modal__content ${className}`} >
{children}
</div>
);
ModalBody.propTypes = {
children: PropTypes.node,
className: PropTypes.string
};
ModalBody.defaultProps = {
className: ''
};
export default ModalBody;
|