Skip to content

prezly/uploadcare-image

Repository files navigation

@prezly/uploadcare-image

Version License

Setup

npm

npm install --save @prezly/uploadcare-image

peerDependencies

Make sure all peer dependencies are met (react, react-dom).

npm install --save react react-dom
npm install --save-dev @types/react @types/react-dom

Usage

Import the default component:

import Image from '@prezly/uploadcare-image';

Import base package styles globally in the root of your application (or directly in your stylesheet):

import '@prezly/uploadcare-image/build/styles.css';

Brought to you by Prezly.