diff --git a/packages/junipero/lib/TouchableZone/index.js b/packages/junipero/lib/TouchableZone/index.js new file mode 100644 index 000000000..2bf631428 --- /dev/null +++ b/packages/junipero/lib/TouchableZone/index.js @@ -0,0 +1,26 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import { classNames } from '@poool/junipero-utils'; + +const TouchableZone = ({ + className, + children, + tag: Tag = 'a', + ...res +}) => ( + + { children } + +); + +TouchableZone.propTypes = { + tag: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.node, + ]), +}; + +export default TouchableZone;