* Change models and related files * Update controllers and specs * More renaming * Seek and destroy, I mean search and replace * Round up the stragglers * Ground control to Major Travis... * More fixes * PR feedback * Various fixes * Rename view * Fix list query builder * Unify request specs * Fix some API spec errors * Fix remaining API specs * Make spec conform to API * Fix leftover problems * Fix JS tests * Fix column name in select * Fix API specs * Fix search specs * Paging Mr. Travis
17 lines
351 B
JavaScript
17 lines
351 B
JavaScript
import { h } from 'preact';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const ModalBackground = ({ onClick }) => (
|
|
<div
|
|
className="listings-modal-background"
|
|
onClick={onClick}
|
|
role="presentation"
|
|
id="listings-modal-background"
|
|
/>
|
|
);
|
|
|
|
ModalBackground.propTypes = {
|
|
onClick: PropTypes.func.isRequired,
|
|
};
|
|
|
|
export default ModalBackground;
|