woocommerce/packages/woocommerce-blocks/assets/js/base/components/dropdown-selector/input-wrapper.js

14 lines
412 B
JavaScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
const DropdownSelectorInputWrapper = ( { children, onClick } ) => {
return (
/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */
<div
className="wc-block-dropdown-selector__input-wrapper wc-block-components-dropdown-selector__input-wrapper"
onClick={ onClick }
>
{ children }
</div>
);
};
export default DropdownSelectorInputWrapper;