1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

feat: Aggiunti tipi agli attributi dei componenti

This commit is contained in:
Maicol Battistini
2021-12-14 10:27:19 +01:00
parent f9b8daab1b
commit 6f367a5e76
11 changed files with 56 additions and 22 deletions

View File

@ -7,6 +7,7 @@ import {
type Children,
type Vnode
} from 'mithril';
import PropTypes from 'prop-types';
import Component from '../Component.jsx';
import Mdi from '../Mdi.jsx';
@ -15,6 +16,14 @@ import TableFooter from './TableFooter.jsx';
import TableRow from './TableRow.jsx';
export default class DataTable extends Component {
static propTypes = {
'rows-per-page': PropTypes.number,
'default-rows-per-page': PropTypes.number,
'aria-label': PropTypes.string,
checkable: PropTypes.bool,
paginated: PropTypes.bool
};
rows: Cash[] = [];
columns: Children[];
footer: Children[];