File input with FAB

I am using @ionic-react. It is very easy to use.

What I wonder is how to make use of input type file with a IonButton or IonFabButton? According to docs the IonInput component is for text like input types.

It is meant for text type inputs only, such as "text" , "password" , "email" , "number" , "search" , "tel" , and "url" . It supports all standard text input events including keyup, keydown, keypress, and more.