From cc0b2bb5b4f34aa1e0c05ac0d2ebb93002414fda Mon Sep 17 00:00:00 2001 From: Alex Corey Date: Thu, 2 May 2019 14:34:17 -0400 Subject: [PATCH] added props to Proptypes --- src/components/DataListToolbar/DataListToolbar.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/DataListToolbar/DataListToolbar.jsx b/src/components/DataListToolbar/DataListToolbar.jsx index c8f1fa4f1a..1028af9e48 100644 --- a/src/components/DataListToolbar/DataListToolbar.jsx +++ b/src/components/DataListToolbar/DataListToolbar.jsx @@ -163,6 +163,7 @@ class DataListToolbar extends React.Component { DataListToolbar.propTypes = { add: PropTypes.node, + addBtnToolTipContent: PropTypes.string, addUrl: PropTypes.string, columns: PropTypes.arrayOf(PropTypes.object).isRequired, deleteTooltip: PropTypes.node, @@ -172,6 +173,7 @@ DataListToolbar.propTypes = { noLeftMargin: PropTypes.bool, onCompact: PropTypes.func, onExpand: PropTypes.func, + onOpenDeleteModal: PropTypes.func, onSearch: PropTypes.func, onSelectAll: PropTypes.func, onSort: PropTypes.func, @@ -184,6 +186,7 @@ DataListToolbar.propTypes = { DataListToolbar.defaultProps = { add: null, + addBtnToolTipContent: i18nMark('Add'), addUrl: null, deleteTooltip: i18nMark('Delete'), disableDelete: true, @@ -192,6 +195,7 @@ DataListToolbar.defaultProps = { noLeftMargin: false, onCompact: null, onExpand: null, + onOpenDeleteModal: null, onSearch: null, onSelectAll: null, onSort: null,