UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

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