How to create textfield for API’s URL?


I need to create a textfiled for API’s URL. Data from API is needed to show data on table. Really have no idea how to create it in .ts file. Especially on function: protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration

enter image description here