UNPKG

@agility/nextjs

Version:

Agility CMS support for NextJS 14 and Next Image

10 lines (9 loc) 438 B
import { FC } from "react"; import { ImageProps } from "next/image"; /** * A wrapper around the next/image compontent that adds the Agility Image API to the loader. * If you are using the app router, this component MUST be used from a client component. * Consider using AgilityPic component instead - it give you more control over image output sizes. * @param {ImageProps} props */ export declare const AgilityImage: FC<ImageProps>;