I have this in the index file
import { Tabs } from \'antd\' import Tab1 from \'./Tab1\' import Tab2 from \'./Tab2\'