UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

16 lines 518 B
import { createSnapComponent } from "../component.mjs"; 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> */ export const Footer = createSnapComponent(TYPE); //# sourceMappingURL=Footer.mjs.map