1 import PropTypes from 'prop-types';
2 import React from 'react';
4 const Region = ({ children, name, x, y }) =>
6 className={`region ${name || ''}`}
7 transform={x || y ? `translate(${x || 0}, ${y || 0})` : undefined}
13 children: PropTypes.node,
14 name: PropTypes.string,
19 export default Region;