@equinor/mad-toast
Version:
Toast package built on top of `react-native-toast-message`
22 lines (19 loc) • 409 B
JavaScript
import {
ToastComponent
} from "./chunk-TH7UBHZL.js";
// src/components/CustomToastTranslator.tsx
import React from "react";
var CustomToastTranslator = (params) => {
var _a;
return /* @__PURE__ */ React.createElement(
ToastComponent,
{
text: (_a = params.text1) != null ? _a : "",
type: params.type,
onPress: params.onPress
}
);
};
export {
CustomToastTranslator
};