Convert AI into proper component