@nnc-digital/nnc-design-system
Version:
Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
13 lines (12 loc) • 355 B
TypeScript
import React from 'react';
type VisibilitySensorProps = {
partialVisibility?: boolean;
};
type LazyImageProps = {
src: string;
placeholder?: string;
visibilitySensorProps?: VisibilitySensorProps;
children: (src: string) => React.ReactNode;
};
declare const LazyImage: React.FunctionComponent<LazyImageProps>;
export default LazyImage;