title: How can I make a dropdown list control that fetches names of custom posts types?
body: <p>How can I make a dropdown list control that fetches names of custom posts types? In my project I want to select a post type name and fetch it in drop down selector in my custom Gutenberg Block!.. How can I do this?</p>