# AngularFrameworkComponent

Canonical page: https://www.adaptabletools.com/docs/reference/angularframeworkcomponent

Angular component defined by its type and (optional) initialisation callback

```ts title="TypeScript"
export type AngularFrameworkComponent<T = unknown> = {
    type: T;
    onSetup?: ({ adaptableApi }: {
        adaptableApi: AdaptableApi;
    }) => Partial<T>;
};
```

###### References

[`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md)
