react-cropper
- Version 2.3.3
- Published
- 20.5 kB
- 1 dependency
- MIT license
Install
npm i react-cropper
yarn add react-cropper
pnpm add react-cropper
Overview
Cropper as React Component
Index
Variables
variable Cropper
const Cropper: React.ForwardRefExoticComponent<any>;
variable ReactCropper
const ReactCropper: React.ForwardRefExoticComponent<any>;
Interfaces
interface ReactCropperElement
interface ReactCropperElement extends HTMLImageElement {}
property cropper
cropper: Cropper;
interface ReactCropperProps
interface ReactCropperProps extends ReactCropperDefaultOptions, Cropper.Options<HTMLImageElement>, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref' | 'crossOrigin'> {}
property crossOrigin
crossOrigin?: '' | 'anonymous' | 'use-credentials' | undefined;
property on
on?: ( eventName: string, callback: () => void | Promise<void>) => void | Promise<void>;
property onInitialized
onInitialized?: (instance: Cropper) => void | Promise<void>;
Package Files (1)
Dependencies (1)
Dev Dependencies (50)
- @babel/cli
- @babel/core
- @babel/plugin-proposal-object-rest-spread
- @babel/plugin-transform-object-assign
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/runtime
- @rollup/plugin-babel
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- @rollup/plugin-replace
- @rollup/plugin-terser
- @rollup/plugin-typescript
- @testing-library/jest-dom
- @testing-library/react
- @types/jest
- @types/react
- @types/react-dom
- @types/react-test-renderer
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- acorn-jsx
- babel-jest
- babel-preset-react-app
- cz-conventional-changelog
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-prettier
- eslint-plugin-react
- eslint-plugin-react-hooks
- jest
- jest-environment-jsdom
- np
- postcss
- prettier
- react
- react-app-polyfill
- react-dom
- react-test-renderer
- rimraf
- rollup
- rollup-plugin-bundle-size
- rollup-plugin-delete
- rollup-plugin-dts
- rollup-plugin-postcss
- rollup-plugin-serve
- tslib
- typescript
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-cropper
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-cropper)
- HTML<a href="https://www.jsdocs.io/package/react-cropper"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3285 ms. - Missing or incorrect documentation? Open an issue for this package.