<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Component`](Component) › [`removeChild`](Component/removeChild)
## Component.removeChild() method
Removes a child component, unloading it
0.12.0
**Signature:**
```typescript
removeChild<T extends Component>(component: T): T;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>component</code> | <code>T</code> | |
**Returns:**
`T`