0

Hello I want to style the BUTTON with text Choose files that's generated as a result of <Input type='file'/> in Chakra UI

I gave it id="file-input" then styled it in CSS like so #file-input {...}

However, it styles the whole container - not the button itself. After inspecting the button in chrome, it seems to be called input#file-upload-button however, after applying styles to this class it changes nothing.

How can I change that button saying 'Choose file' in Chakra UI or just CSS itself?

Mateusz Szumilo
  • 109
  • 2
  • 7

0 Answers0