mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
added props to Proptypes
This commit is contained in:
@@ -163,6 +163,7 @@ class DataListToolbar extends React.Component {
|
|||||||
|
|
||||||
DataListToolbar.propTypes = {
|
DataListToolbar.propTypes = {
|
||||||
add: PropTypes.node,
|
add: PropTypes.node,
|
||||||
|
addBtnToolTipContent: PropTypes.string,
|
||||||
addUrl: PropTypes.string,
|
addUrl: PropTypes.string,
|
||||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
deleteTooltip: PropTypes.node,
|
deleteTooltip: PropTypes.node,
|
||||||
@@ -172,6 +173,7 @@ DataListToolbar.propTypes = {
|
|||||||
noLeftMargin: PropTypes.bool,
|
noLeftMargin: PropTypes.bool,
|
||||||
onCompact: PropTypes.func,
|
onCompact: PropTypes.func,
|
||||||
onExpand: PropTypes.func,
|
onExpand: PropTypes.func,
|
||||||
|
onOpenDeleteModal: PropTypes.func,
|
||||||
onSearch: PropTypes.func,
|
onSearch: PropTypes.func,
|
||||||
onSelectAll: PropTypes.func,
|
onSelectAll: PropTypes.func,
|
||||||
onSort: PropTypes.func,
|
onSort: PropTypes.func,
|
||||||
@@ -184,6 +186,7 @@ DataListToolbar.propTypes = {
|
|||||||
|
|
||||||
DataListToolbar.defaultProps = {
|
DataListToolbar.defaultProps = {
|
||||||
add: null,
|
add: null,
|
||||||
|
addBtnToolTipContent: i18nMark('Add'),
|
||||||
addUrl: null,
|
addUrl: null,
|
||||||
deleteTooltip: i18nMark('Delete'),
|
deleteTooltip: i18nMark('Delete'),
|
||||||
disableDelete: true,
|
disableDelete: true,
|
||||||
@@ -192,6 +195,7 @@ DataListToolbar.defaultProps = {
|
|||||||
noLeftMargin: false,
|
noLeftMargin: false,
|
||||||
onCompact: null,
|
onCompact: null,
|
||||||
onExpand: null,
|
onExpand: null,
|
||||||
|
onOpenDeleteModal: null,
|
||||||
onSearch: null,
|
onSearch: null,
|
||||||
onSelectAll: null,
|
onSelectAll: null,
|
||||||
onSort: null,
|
onSort: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user