@settlemint/sdk-next
Version:
Next.js integration module for SettleMint SDK, providing React components and middleware for web applications
1 lines • 967 B
Source Map (JSON)
{"version":3,"file":"test.cjs","names":[],"sources":["../../src/components/test.tsx"],"sourcesContent":["import type { ReactElement } from \"react\";\n\n/**\n * The props for the HelloWorld component.\n */\nexport interface HelloWorldProps {\n name?: string;\n}\n\n/**\n * A simple Hello World component that greets the user.\n *\n * @param props - The props for the HelloWorld component.\n * @returns A React element that displays a greeting to the user.\n */\nexport function HelloWorld({ name = \"World\" }: HelloWorldProps): ReactElement {\n return (\n <div className=\"p-4 bg-gray-100 rounded-md shadow-sm\">\n <h1 className=\"text-2xl font-bold text-gray-800\">Hello, {name}!</h1>\n <p className=\"mt-2 text-gray-600\">Welcome to our React component.</p>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAgB,WAAW,EAAE,OAAO,WAA0C;AAC5E,QACE,4CAAC;EAAI,WAAU;aACb,4CAAC;GAAG,WAAU;;IAAmC;IAAQ;IAAK;;IAAM,EACpE,2CAAC;GAAE,WAAU;aAAqB;IAAmC;GACjE"}