File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @crystallize/reactjs-components" ,
33 "license" : " MIT" ,
4- "version" : " 0.3.0 " ,
4+ "version" : " 0.3.1 " ,
55 "author" :
" Crystallize <[email protected] > (https://crystallize.com)" ,
66 "contributors" : [
77 " Håkon Krogh <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const RowCol: FunctionComponent<RowColGridProps> = ({
2525 ) } `}
2626 >
2727 { row . map ( ( cell : GridCell , cellIndex : number ) => {
28- const cellStyles = styleForCell ? styleForCell ( cell . data , { } ) || { } : { } ;
28+ const cellStyles = styleForCell ? styleForCell ( cell , { } ) || { } : { } ;
2929 const classes = getPositionnableCellClassNames ( cell , dimensions ) ;
3030 return (
3131 < div
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const Table: FunctionComponent<TableGridProps> = ({
3030 className = { getPositionnablRowClassNames ( { rowIndex } , dimensions ) }
3131 >
3232 { row . map ( ( cell : GridCell , cellIndex : number ) => {
33- const cellStyles = styleForCell ? styleForCell ( cell . data , { } ) || { } : { } ;
33+ const cellStyles = styleForCell ? styleForCell ( cell , { } ) || { } : { } ;
3434 const classes = getPositionnableCellClassNames ( cell , dimensions ) ;
3535 return (
3636 < td
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export type GridCell = {
2020 rowspan : number ;
2121 colspan : number ;
2222 } ;
23- data : any ;
2423} ;
2524
2625export type GridPosition = {
You can’t perform that action at this time.
0 commit comments