terra-table
Version:
The Terra Table component provides user a way to display data in an accessible table format.
16 lines (12 loc) • 351 B
JSX
import React from 'react';
const GridContext = React.createContext({
role: 'table',
// This is a callback to be supplied in the grid context provider for the aria region
setCellAriaLiveMessage: undefined,
tableRef: undefined,
tableContainerRef: undefined,
});
export const GridConstants = {
GRID: 'grid',
};
export default GridContext;