How to list files in a dir in jupyterlab?

Hi, I want to be able to read directory and list all the files inside in my react widget. How can I achieve that? Thanks.