Cursor auto import

It’s amazing when Cursor generates the codes, but I always have to import them one by one. Is there any method to automatically import jsx, tsx files?