UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

19 lines 625 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Footer = void 0; const component_1 = require("../component.cjs"); const TYPE = 'Footer'; /** * A footer component, which is used to create a footer with buttons. * * @param props - The props of the component. * @param props.children - The single or multiple buttons in the footer. * @returns A footer element. * @example * <Footer> * <Button name="cancel">Cancel</Button> * <Button name="confirm">Confirm</Button> * </Footer> */ exports.Footer = (0, component_1.createSnapComponent)(TYPE); //# sourceMappingURL=Footer.cjs.map