@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
28 lines • 968 B
text/typescript
/**
* 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.cjs";
export * from "./components/index.cjs";
export * from "./jsx-runtime.cjs";
export * from "./jsx-dev-runtime.cjs";
export { JSXElementStruct, RootJSXElementStruct, isJSXElement, isJSXElementUnsafe, assertJSXElement, BoxChildStruct, FormChildStruct, FieldChildUnionStruct, } from "./validation.cjs";
//# sourceMappingURL=index.d.cts.map