1.0.19 • Published 5 years ago
rc-input-file v1.0.19
rc-input-file
select the image and upload it to the back endInstall.
Installation
$ yarn add rc-input-file
or
$ npm install rc-input-file
Quick start
import React from 'react';
import ReactDOM from 'react-dom';
import RcInputFile from 'rc-input-file';
function App() {
return(
<div className='app'>
<RcInputFile>
<button className='app-upload'>upload</button>
</RcInputFile>
</div>
);
}
ReactDOM.render(<App />, document.getElementById('root'));
API
props | description | type | default |
---|---|---|---|
children | show text on input | ReactElement | — |
Test
$ yarn run test
or
$ npm run test
Contribute
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
1.0.19
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago