Is there a way to get the index of the selected component?
Is there a way to get the index of the selected component?