Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Jan 5, 2025
1 parent f7e6b94 commit e2c797f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/framework/angular/angular-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ class YourComponent {}

#### Rendering a Component

To render a Component into a specific column header/cell/footer, you can pass a `FlexRenderComponent instantiated with
your `ComponentType, with the ability to include optional parameters such as inputs and an injector.
To render a Component into a specific column header/cell/footer, you can pass a `FlexRenderComponent` instantiated with
your `ComponentType, with the ability to include parameters such as inputs and an injector.

```ts
import {FlexRenderComponent} from "@tanstack/angular-table";
Expand Down Expand Up @@ -119,7 +119,8 @@ class AppComponent {
{
injector, // Optional injector
inputs: {
content: context.row.original.rowProperty, // Mandatory input since we are using `input.required()`
// Mandatory input since we are using `input.required()
content: context.row.original.rowProperty,
type // Optional input
}
}
Expand Down

0 comments on commit e2c797f

Please sign in to comment.