# ComponentEntity

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/parser-core/src/interfaces/entity.interface.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/interfaces/entity.interface.ts#L360)

Component entity (React, Vue, Angular)

## Properties

| Property | Type |
|---|---|
| `type` | `EntityType.COMPONENT` |
| `componentType` | `'functional' | 'class'` |
| `props` | `PropDefinition[]` |
| `hooks` | `HookUsage[]` |
| `events` | `EventDefinition[]` |
| `slots` | `SlotDefinition[]` |
| `childComponents` | `string[]` |
| `stateManagement` | `StateManagementInfo` |
| `exports` | `ExportInfo` |
| `semanticMetadata` | `SemanticMetadata` |
| `stateMachines` | `StateMachine[]` |
