Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default factory(function GridTab({ middleware: { icache } }) {
const data = icache.getOrSet('data', generateData(10000));
return v('div', { classes: css.root }, [
w(Grid, {
columnConfig: columnConfig,
fetcher: createFetcher(data),
updater: createUpdater(data),
height: 400
})
]);
});
},
{
id: 'firstName',
title: 'First Name',
editable: false
},
{
id: 'lastName',
title: 'Last Name',
editable: false
}
];
const data = createData();
const fetcher = createFetcher(data);
const updater = createUpdater(data);
const factory = create();
export default factory(() => {
return ;
});