Closed Maligosus closed 2 years ago
I'm using the following one:
const tableRef = React.useRef<{ table: Tabulator }>()
Then Ican access to function names using tableRef.current.table and It works
I'm using it very similar, but with the interface:
export interface ITabulator {
table: Tabulator;
}
const table = React.useRef<ITabulator>();
Thanks for your inputs. I'll export the interface shortly.
What type of React tabulator ref table. I cannot to access table functions in react tabulator. Its throw error. I don't want use any type without intelliSense