Skip to content

Commit 7bd0e56

Browse files
CopilotZneeky
andcommitted
fix(skills): correct IgrGrid prop from dataSource to data
Co-authored-by: Zneeky <105818882+Zneeky@users.noreply.github.com>
1 parent 15e92b8 commit 7bd0e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skills/igniteui-react-use-components/reference/INSTALLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ import { IgrGrid, IgrColumn, IgrPaginator } from 'igniteui-react-grids';
7878

7979
export default function DataTable({ data }: { data: any[] }) {
8080
return (
81-
<IgrGrid dataSource={data} autoGenerate={false}>
81+
<IgrGrid data={data} autoGenerate={false}>
8282
<IgrColumn field="name" header="Name" />
8383
<IgrColumn field="email" header="Email" />
8484
<IgrPaginator perPage={10} />

0 commit comments

Comments
 (0)