We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1a06e commit 712683dCopy full SHA for 712683d
docs/examples/row-hoverable.tsx
@@ -10,14 +10,9 @@ interface RecordType {
10
const data = [{ a: 'A' }, { a: 'B' }, { a: 'C' }];
11
12
const Demo = () => {
13
- const columns: TableProps<any>['columns'] = [
14
- {
15
- title: 'title',
16
- dataIndex: 'a',
17
- },
18
- ];
+ const columns: TableProps<RecordType>['columns'] = [{ title: 'title', dataIndex: 'a' }];
19
20
- return <Table<RecordType> columns={columns} data={data} rowHoverable={false} />;
+ return <Table columns={columns} data={data} rowHoverable={false} />;
21
};
22
23
export default Demo;
0 commit comments