1.0.7 • Published 3 years ago

react-file-input-custom v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

React File Input Custom 📲

App Screenshot

A simple and humble react component for file input in web apps.

Feel free for contribute with this package. It's for my necessity, but I want to help more devs that needs a different file input.

Commands

You can install with:

npm install react-file-input-custom

or

yarn add react-file-input-custom

Example

import { ReactFileInputCustom } from 'react-file-input-custom';

const App = () => <ReactFileInputCustom />;

Props Reference

Nothing is required.

PropertyTypeDefaultDescription
handleChangefunction-Receives the event from input
acceptedExtensionsstring-Accepted files extensions
backgroundColorstring#3699ffBackground color of input
textColorstring#fffColor of icon & text
textstringSelecione um arquivoText of input
widthstring250pxWidth of input
classesstring-Additional CSS classes for input
...props{ ...props }-Any props for input

Repository

https://github.com/EzequielBurg/react-file-input-custom/tree/master

This package was developed in TSDX ➡ https://tsdx.io/ .

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago