Make dropdown a component.