@thanhpv102/simple-image-asset-manager
v0.1.5
Published
A comprehensive file/image asset manager modal for easy-email-editor.
Maintainers
Readme
simple-image-asset-manager
A comprehensive file/image asset manager modal for easy-email-editor. Supports folder navigation, drag-and-drop upload, image preview/editing, and more.
Features
- Browse folders/files
- Upload via drag-and-drop
- Create/manage folders
- Preview images
- ~~Edit images (crop, resize, rotate)~~ (todo)
- Delete files/folders
- Select files for use in email templates
Installation
npm install @thanhpv102/simple-image-asset-manager
# or
pnpm add @thanhpv102/simple-image-asset-managerUsage
Import the CSS
You need to import the CSS file in your application:
import '@thanhpv102/simple-image-asset-manager/style.css';Basic Example
import { AssetManager } from '@thanhpv102/simple-image-asset-manager';
import '@thanhpv102/simple-image-asset-manager/style.css';
// Use the AssetManager component in your applicationSee the documentation in the main repo for more integration details.
