feat(global): refactor component