mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
14 lines
364 B
JavaScript
14 lines
364 B
JavaScript
import React from 'react';
|
|
import classnames from 'classnames';
|
|
|
|
const ModalHeader = ({className, children}) => (
|
|
<div className={classnames('modal__header', className)}>
|
|
<button className="btn btn--compact modal__close-btn" data-close-modal="true">
|
|
<i className="fa fa-times"></i>
|
|
</button>
|
|
{children}
|
|
</div>
|
|
);
|
|
|
|
export default ModalHeader;
|