Skip to main content

API Reference

This section documents the complete React Image Focal Point API.

Top-level exports

Components

Types (for TypeScript support)

Importing

Every section described above is a top-level export. You can import any of them like this:

ES Modules

import { ImageFocalPoint } from '@lemoncode/react-image-focal-point';

CommonJS

const { ImageFocalPoint } = require('@lemoncode/react-image-focal-point');