@payfit/unity-components
Version:
18 lines (17 loc) • 456 B
JavaScript
import { Button as e } from "../../button/Button.js";
import { jsx as t } from "react/jsx-runtime";
//#region src/components/toast/parts/ToastAction.tsx
function n({ children: n, onPress: r }) {
return /* @__PURE__ */ t("div", {
className: "uy:self-start",
children: /* @__PURE__ */ t(e, {
variant: "secondary",
color: "primary",
onPress: r,
children: n
})
});
}
n.displayName = "ToastAction";
//#endregion
export { n as ToastAction };