API Reference
This section documents the complete React Image Focal Point API.
Top-level exports
Components
- ImageFocalPoint: the Component.
Types (for TypeScript support)
- ImageFocalPointProps: the Component's props.
- FocalPoint: the focal point view model.
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');