Skip to content

kanyo33/react-input-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-input-button

This button was inspired by removing the default "Choose File" input file type with a custom option.

import { InputBtn } from 'react-input-button'

The props include

<InputBtn
  multiple={false} //Upload multiple files
  onChange={(e) => {}} //Get the event
  style={{}} //Overwrite the existing styles
  text="Upload" // The text of the button
  showText={true} // Add custom component e.g. icon
  component={} // if showText = false
/>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published