Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props: TableProps) {
super(props);
this.state = {
columns: [
{
title: 'Repositories',
columnTransforms: [classNames(Visibility.hidden, Visibility.visibleOnMd, Visibility.hiddenOnLg)]
},
'Branches',
{
title: 'Pull requests',
columnTransforms: [classNames(Visibility.hiddenOnMd, Visibility.visibleOnLg)]
},
'Workspaces',
{
title: 'Last Commit',
columnTransforms: [classNames(Visibility.hidden, Visibility.visibleOnSm)]
}
],
rows: [
['Visible only on md breakpoint', '10', 'Hidden only on md breakpoint', '5', 'Hidden on xs breakpoint'],
['Repository 2', '10', '25', '5', '2 days ago'],
['Repository 3', '10', '25', '5', '2 days ago'],