Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to give icon in input type file react

<div style={{ margin: "0 10px" }}>
  <label htmlFor="file-input">
    <img
      src="/assets/vectors/file-icon.svg"
      alt="file"
      className="button"
     />
  </label>
  <input id="file-input" type="file" />
</div>
Comment

PREVIOUS NEXT
Code Example
Javascript :: charcodeat javascript 
Javascript :: how to avoid duplicate values in dropdownlist using jquery 
Javascript :: how to make an array of a value from 1 to the number 
Javascript :: electron js production release Distributing 
Javascript :: C# Convert Json File to DataTable 
Javascript :: jQuery intellisence in VSCode 
Javascript :: js .flat 
Javascript :: Max JavaScript Methods 
Javascript :: javascript update value when slider moves javascript 
Javascript :: counting sheep 
Javascript :: db.json code 
Javascript :: angular compnent 
Javascript :: jquery copy to clipboard 
Javascript :: vue js convert string to html 
Javascript :: js add query param 
Javascript :: 1 day ago javascript 
Javascript :: sequelize one to many 
Javascript :: mongodb insertmany 
Javascript :: angular local storage ionic 
Javascript :: mdn object assign 
Javascript :: passing data between components in react js 
Javascript :: convert date to ist format javascript 
Javascript :: nuxtjs loading 
Javascript :: javascript math ceiling function 
Javascript :: convert integer month to string month react native 
Javascript :: react create array 
Javascript :: Aug 25 2020 00:00:00 GMT+0530 
Javascript :: javascript mutation observer 
Javascript :: how to find element in array angularjs 
Javascript :: javascript this 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =