Skip to content

Commit

Permalink
feat(angular-table): fix PR check error
Browse files Browse the repository at this point in the history
  • Loading branch information
merto20 committed May 21, 2024
1 parent a56c687 commit 00d2fd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
import {
Row,
Table
} from '@tanstack/angular-table';
import { ChangeDetectionStrategy, Component, input } from '@angular/core'
import { Row, Table } from '@tanstack/angular-table'

@Component({
template: `
Expand All @@ -28,7 +25,7 @@ export class TableHeadSelectionComponent<T> {

//column = input.required<Column<T, unknown>>();
//header = input.required<Header<T, unknown>>();
table = input.required<Table<T>>();
table = input.required<Table<T>>()
}

@Component({
Expand All @@ -46,5 +43,5 @@ export class TableHeadSelectionComponent<T> {
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TableRowSelectionComponent<T> {
row = input.required<Row<T>>();
row = input.required<Row<T>>()
}
2 changes: 1 addition & 1 deletion packages/angular-table/src/flex-render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Type,
ViewContainerRef,
inject,
input
input,
} from '@angular/core'

type FlexRenderContent<TProps extends NonNullable<unknown>> =
Expand Down
4 changes: 1 addition & 3 deletions packages/angular-table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import { proxifyTable } from './proxy'

export * from '@tanstack/table-core'

export {
FlexRenderDirective
} from './flex-render'
export { FlexRenderDirective } from './flex-render'

export function createAngularTable<TData extends RowData>(
options: () => TableOptions<TData>
Expand Down

0 comments on commit 00d2fd9

Please sign in to comment.