Skip to content

Commit

Permalink
refactor(lib): Proptypes package
Browse files Browse the repository at this point in the history
Proptypes package inserted.

thechinedu#25
  • Loading branch information
mogavin committed Dec 26, 2017
1 parent bd02665 commit 5b626ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/mui-data-table.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { object } from 'prop-types';
import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, TableFooter } from 'material-ui/Table';

import SelectField from 'material-ui/SelectField';
Expand Down Expand Up @@ -356,5 +357,5 @@ export default class MuiDataTable extends React.Component {
}

MuiDataTable.propTypes = {
config: React.PropTypes.object.isRequired
config: object.isRequired
};

0 comments on commit 5b626ed

Please sign in to comment.