Skip to content

Commit

Permalink
fix: remove prop requirement, default values are always assured
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Murray <[email protected]>
  • Loading branch information
mikemurray committed Jan 21, 2020
1 parent 19f2d79 commit f8d5524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/components/DataTableFilter/DataTableFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,11 @@ DataTableFilter.propTypes = {
/**
* Clear all for multi-select filters
*/
clearAll: PropTypes.string.isRequired,
clearAll: PropTypes.string,
/**
* Clear label for single select filters
*/
clear: PropTypes.string.isRequired
clear: PropTypes.string
}),
/**
* Called when an option is selected. Can be use simultaneously with option onClick callbacks.
Expand Down

0 comments on commit f8d5524

Please sign in to comment.