mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
14 lines
362 B
JavaScript
14 lines
362 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;
|