Yes. The component shouldn't care about css class. It's purely representational. The component should use "type" which can be used as css class by the helper or just passed as param to custom element.