Skip to content

Commit 4d3c25c

Browse files
committed
Allow any for rows
1 parent 5b92696 commit 4d3c25c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": false,
33
"name": "@attio/react-data-list",
4-
"version": "1.0.5",
4+
"version": "1.0.6",
55
"author": "Braden Marshall <[email protected]>",
66
"license": "MIT",
77
"bugs": "https://github.com/attio/react-data-list/issues",

src/data-list-rows.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ import {
66
useDataListDescriptorDescendant,
77
} from "./data-list-descriptor-context"
88

9-
interface DataListRowsProps<TRenderItem> {
10-
descriptors: Array<DataListDescriptor<TRenderItem>>
9+
interface DataListRowsProps {
10+
// biome-ignore lint/suspicious/noExplicitAny: allow any to avoid union issues
11+
descriptors: Array<DataListDescriptor<any>>
1112
}
1213

1314
/**
1415
* Connects a single item row to the list.
1516
*/
16-
export function DataListRows<TRenderItem>({descriptors}: DataListRowsProps<TRenderItem>) {
17+
export function DataListRows({descriptors}: DataListRowsProps) {
1718
const {attachDescriptors, markForIndex} = useDataListDescriptorContext()
1819

1920
const id = React.useId()

0 commit comments

Comments
 (0)