gatsby-plugin-image
Version:
Adding responsive images to your site while maintaining high performance scores can be difficult to do manually. The Gatsby Image plugin handles the hard parts of producing images in multiple sizes and formats for you!
10 lines • 431 B
TypeScript
import { FunctionComponent, PropsWithChildren } from "react";
import { Layout } from "../image-utils";
export interface ILayoutWrapperProps {
layout: Layout;
width: number;
height: number;
}
export declare function getSizer(layout: Layout, width: number, height: number): string;
export declare const LayoutWrapper: FunctionComponent<PropsWithChildren<ILayoutWrapperProps>>;
//# sourceMappingURL=layout-wrapper.d.ts.map