@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
17 lines • 623 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Skeleton = void 0;
const component_1 = require("../component.cjs");
const TYPE = 'Skeleton';
/**
* A Skeleton component, which is used to display skeleton of loading content.
*
* @param props - The props of the component.
* @param props.width - Width of the Skeleton.
* @param props.width - Height of the Skeleton.
* @param props.borderRadius - Border radius of the Skeleton.
* @example
* <Skeleton height={32} width="50%" />
*/
exports.Skeleton = (0, component_1.createSnapComponent)(TYPE);
//# sourceMappingURL=Skeleton.cjs.map