Was tasked to upgrade from Griddle v0.7 to Griddle v1.1. But I can't seeme to get onRowClick to work.
import React, { Component } from 'react';
import Griddle from 'griddle-react';
export default class Table extends Component {
render() {
const data = [...something];
return <Griddle
data={data}
onRowClick={() => console.log("row clicked")} />
}
}
If I look through the issues on github or other examples, this should work just fine.