Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const CustomLayoutDataGrid: React.FunctionComponent = () => {
const [getErrorMessage] = React.useState(null as string);
const tbTableInstance = useTbTable(sampleColumns, localData);
const onRowClick = (row) => console.log(row);
const [isMobileResolution] = useResolutionSwitch(800, 400);
if (isMobileResolution) {
return (
);
}
return (
<>
{getErrorMessage && (