Skip to content

Commit e2c797f

Browse files
committed
fix doc
1 parent f7e6b94 commit e2c797f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/framework/angular/angular-table.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ class YourComponent {}
8484

8585
#### Rendering a Component
8686

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

9090
```ts
9191
import {FlexRenderComponent} from "@tanstack/angular-table";
@@ -119,7 +119,8 @@ class AppComponent {
119119
{
120120
injector, // Optional injector
121121
inputs: {
122-
content: context.row.original.rowProperty, // Mandatory input since we are using `input.required()`
122+
// Mandatory input since we are using `input.required()
123+
content: context.row.original.rowProperty,
123124
type // Optional input
124125
}
125126
}

0 commit comments

Comments
 (0)