1.3.3 • Published 3 years ago
react-img-input v1.3.3
react-img-input
Another cool React Component Library
🚀 See it in Action
Install
npm install --save react-img-input
Usage
Default Usage
import React from 'react'
import { ReactImgInput } from 'react-img-input'
import 'react-img-input/dist/index.css'
const config = {
size: 120,
captureBtn: {
bg: 'crimson',
color: '#fff',
},
cropBtn: {
bg: '#F4B230',
color: '#fff',
},
defaultImg: '',
theme: 'light',
compression: {
maxSizeMB: 0.1,
maxWidthOrHeight: 500,
useWebWorker: true,
}
}
const App = () => {
return <ReactImgInput config={config} setOutput={console.log} />
}
export default App
Support
License
This project is licensed under the MIT License - see the LICENSE file for details
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.3.3
3 years ago
1.2.4
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
2.0.9
3 years ago
2.0.8
3 years ago
2.0.5
3 years ago
2.0.4
3 years ago
2.0.7
3 years ago
2.0.6
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
1.0.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.2
3 years ago
0.1.1
3 years ago
1.0.3
3 years ago
0.1.0
3 years ago