UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

21 lines 708 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bold = void 0; const component_1 = require("../../component.cjs"); // eslint-disable-next-line @typescript-eslint/no-unused-vars const Text_1 = require("../Text.cjs"); const TYPE = 'Bold'; /** * A bold component, which is used to display text in bold. This component can * only be used as a child of the {@link Text} component. * * @param props - The props of the component. * @param props.children - The text to display in bold. * @returns A bold element. * @example * <Text> * Hello <Bold>world</Bold>! * </Text> */ exports.Bold = (0, component_1.createSnapComponent)(TYPE); //# sourceMappingURL=Bold.cjs.map