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