Skip to content

Commit

Permalink
Update glide-data-grid-cells README.md (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceharrison1984 committed Sep 1, 2023
1 parent e2c3889 commit 0ea52f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/cells/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ Step 1: Add the extra cells to your grid.
import { useExtraCells } from "@glideapps/glide-data-grid-cells";

const Grid = () => {
const { drawCell, provideEditor } = useExtraCells();

return <DataEditor {...rest} drawCell={drawCell} provideEditor={provideEditor} />;
const { customRenderers } = useExtraCells();
return <DataEditor customRenderers={customRenderers} {...rest} />;
};
```

Expand Down

0 comments on commit 0ea52f3

Please sign in to comment.