mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
added props to Proptypes
This commit is contained in:
parent
b136ce1e1d
commit
cc0b2bb5b4
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user