Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tstreamdoth/react-dp


https://github.com/tstreamdoth/react-dp

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# react-dp

npm version
Downloads

Twitter like profile picture component & add custom overlay.
πŸ“ΈExport as base64 image using a clear user interface.

# Install

Just use yarn or npm to add it to your project:

```
yarn add react-dp
```

respective

```
npm install --save react-dp
```

# Usage

```javascript
import React, { useRef } from 'react';
import DisplayPicEditor from 'react-dp';

class MyEditor extends React.Component {
render() {
return (

{
dpEditor.current.saveAsImage();
}}>
Save Image
˝
);
}
}

export default MyEditor;
```