@theguild/components
Version:
27 lines (26 loc) • 992 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { cn } from "../../cn";
import { ReactComponent as HighlightDecorationSvg } from "./highlight-decoration";
import { ReactComponent } from "./arch-decoration";
import { ReactComponent as ReactComponent2 } from "./arch-decoration-gradient-defs";
import { ReactComponent as ReactComponent3 } from "./large-hive-icon-decoration";
function DecorationIsolation(props) {
return /* @__PURE__ */ jsx(
"div",
{
...props,
className: cn("pointer-events-none absolute inset-0 overflow-hidden", props.className)
}
);
}
const HighlightDecoration = (props) => (
// eslint-disable-next-line tailwindcss/no-custom-classname
/* @__PURE__ */ jsx(HighlightDecorationSvg, { ...props, className: cn(props.className, "firefox-highlight-fix") })
);
export {
ReactComponent as ArchDecoration,
ReactComponent2 as ArchDecorationGradientDefs,
DecorationIsolation,
HighlightDecoration,
ReactComponent3 as LargeHiveIconDecoration
};