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