File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ export type GridRow = {
2727} ;
2828
2929export interface GridRendererProps {
30- cellComponent : React . FunctionComponent < { cell : any ; dimensions : GridDimensions } > ;
30+ cellComponent : React . FunctionComponent < {
31+ cell : any ;
32+ dimensions : GridDimensions ;
33+ children ?: FunctionComponent < any > ;
34+ } > ;
3135 type : GridRenderingType ;
3236 grid : {
3337 rows : GridRow [ ] ;
@@ -38,7 +42,11 @@ export interface GridRendererProps {
3842}
3943
4044export interface CSSGridProps {
41- cellComponent : React . FunctionComponent < { cell : any ; dimensions : GridDimensions } > ;
45+ cellComponent : React . FunctionComponent < {
46+ cell : any ;
47+ dimensions : GridDimensions ;
48+ children ?: FunctionComponent < any > ;
49+ } > ;
4250 cells : GridCell [ ] ;
4351 children ?: FunctionComponent < any > ;
4452 dimensions : GridDimensions ;
You can’t perform that action at this time.
0 commit comments