UNPKG

@settlemint/sdk-next

Version:

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

30 lines (28 loc) 780 B
/* SettleMint Next.js Components */ import { jsx, jsxs } from "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__ */ jsxs("div", { className: "p-4 bg-gray-100 rounded-md shadow-sm", children: [/* @__PURE__ */ jsxs("h1", { className: "text-2xl font-bold text-gray-800", children: [ "Hello, ", name, "!" ] }), /* @__PURE__ */ jsx("p", { className: "mt-2 text-gray-600", children: "Welcome to our React component." })] }); } //#endregion export { HelloWorld }; //# sourceMappingURL=test.js.map