UNPKG

@settlemint/sdk-next

Version:

Next.js integration module for SettleMint SDK, providing React components and middleware for web applications

30 lines (28 loc) 867 B
/* SettleMint Next.js Components */ let react_jsx_runtime = require("react/jsx-runtime"); //#region src/components/test.tsx /** * A simple Hello World component that greets the user. * * @param props - The props for the HelloWorld component. * @returns A React element that displays a greeting to the user. */ function HelloWorld({ name = "World" }) { return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { className: "p-4 bg-gray-100 rounded-md shadow-sm", children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("h1", { className: "text-2xl font-bold text-gray-800", children: [ "Hello, ", name, "!" ] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { className: "mt-2 text-gray-600", children: "Welcome to our React component." })] }); } //#endregion exports.HelloWorld = HelloWorld; //# sourceMappingURL=test.cjs.map