UNPKG

reactioning

Version:

Just a simple library to show beautiful reactions in your app.

11 lines (10 loc) 485 B
import { jsx as t } from "react/jsx-runtime"; import { ReactionContainer as n } from "../reaction-container.js"; import { HearthIcon as a } from "./hearth-icon.js"; import '../../assets/hearth-reaction.css';const c = "_icon_1k36d_11", i = "_heartbeat_1k36d_1", s = { icon: c, heartbeat: i }, p = ({ reaction: o, onClick: e, ...r }) => /* @__PURE__ */ t(n, { reaction: o, onClick: e, ...r, children: /* @__PURE__ */ t(a, { className: s.icon }) }); export { p as HearthReaction };