material-table
Advanced tools
Comparing version
/* eslint-disable no-unused-vars */ | ||
import * as React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { TableCell, TableRow, TextField, FormControl, Select, Input, MenuProps, MenuItem, Checkbox, ListItemText, InputAdornment, Icon } from '@material-ui/core'; | ||
import { TableCell, TableRow, TextField, FormControl, Select, Input, MenuItem, Checkbox, ListItemText, InputAdornment, Icon } from '@material-ui/core'; | ||
/* eslint-enable no-unused-vars */ | ||
const ITEM_HEIGHT = 48; | ||
const ITEM_PADDING_TOP = 8; | ||
const MenuProps = { | ||
PaperProps: { | ||
style: { | ||
maxHeight: ITEM_HEIGHT * 4.5 + ITEM_PADDING_TOP, | ||
width: 250 | ||
} | ||
} | ||
}; | ||
class MTableFilterRow extends React.Component { | ||
@@ -8,0 +19,0 @@ getComponentForColumn(columnDef) { |
{ | ||
"name": "material-table", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"description": "Datatable for React based on https://material-ui.com/api/table/ with additional features", | ||
@@ -5,0 +5,0 @@ "main": "dist/material-table.js", |
37000
0.48%927
1.09%