Sets a component to be hidden.
string $name: The name of the component.
$this
public function removeComponent($name);