@sikka/hawa
Version:
Modern UI Kit made with Tailwind
14 lines (13 loc) • 376 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
};
//# sourceMappingURL=index.mjs.map