@sikka/hawa
Version:
Modern UI Kit made with Tailwind
15 lines (12 loc) • 343 B
JavaScript
"use client";
// elements/stopPropagationWrapper/StopPropagationWrapper.tsx
import React from "react";
var StopPropagationWrapper = (props) => {
const handleClick = (e) => {
e.stopPropagation();
};
return /* @__PURE__ */ React.createElement("div", { onClick: handleClick }, props.children);
};
export {
StopPropagationWrapper
};