Updated type component with new style