UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

28 lines 968 B
/** * The JSX entry point for the Snaps SDK, which can be accessed by importing * from `@metamask/snaps-sdk/jsx`. * * To use the JSX features, ensure your project is set up to handle JSX syntax, * and configure the JSX import source to point to `@metamask/snaps-sdk/jsx`. * For example, in a TypeScript project, you can set the `jsxImportSource` * compiler option in your `tsconfig.json`: * * ```json * { * "compilerOptions": { * "jsx": "react-jsx", * "jsxImportSource": "@metamask/snaps-sdk/jsx" * } * } * ``` * * @module Main/JSX * @primaryExport * @showCategories */ export * from "./component.mjs"; export * from "./components/index.mjs"; export * from "./jsx-runtime.mjs"; export * from "./jsx-dev-runtime.mjs"; export { JSXElementStruct, RootJSXElementStruct, isJSXElement, isJSXElementUnsafe, assertJSXElement, BoxChildStruct, FormChildStruct, FieldChildUnionStruct, } from "./validation.mjs"; //# sourceMappingURL=index.d.mts.map