Reusable UI Component for ReactJS