@vandrei977/react-native-render-html
Version:
The hackable, full-featured Open Source HTML rendering solution for React Native.
8 lines • 510 B
TypeScript
import type { UseIMGElementStateWithCacheProps, IMGElementStateError, IMGElementStateSuccess } from './img-types';
/**
* This hook is useful when one has access to image natural dimensions prior to
* loading. The `cachedNaturalDimensions` prop must be passed to immediately
* compute concrete dimensions.
*/
export default function useIMGElementStateWithCache(props: UseIMGElementStateWithCacheProps): IMGElementStateError | IMGElementStateSuccess;
//# sourceMappingURL=useIMGElementStateWithCache.d.ts.map