Skip to content

Commit

Permalink
chore: proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
rboixaderg committed Jan 14, 2024
1 parent 4fdbf05 commit 88066eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
14 changes: 11 additions & 3 deletions src/guillo-gmi/components/input/search_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ export const SearchInput = ({
}

useEffect(() => {
console.log('update labels')
if (value) {
inicializeLabels()
} else {
Expand Down Expand Up @@ -321,8 +320,17 @@ export const SearchInput = ({
SearchInput.propTypes = {
onChange: PropTypes.func,
value: PropTypes.string,
client: PropTypes.object,
path: PropTypes.string,
PageSize: PropTypes.number,
btnClass: PropTypes.string,
error: PropTypes.string,
errorZoneClassName: PropTypes.string,
traversal: PropTypes.object,
qs: PropTypes.array,
queryCondition: PropTypes.string,
dataTestWrapper: PropTypes.string,
dataTestSearchInput: PropTypes.string,
dataTestItem: PropTypes.string,
renderTextItemOption: PropTypes.func,
typeNameQuery: PropTypes.string,
labelProperty: PropTypes.string,
}
15 changes: 12 additions & 3 deletions src/guillo-gmi/components/input/search_input_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,18 @@ export const SearchInputList = ({

SearchInputList.propTypes = {
onChange: PropTypes.func,
options: PropTypes.arrayOf(PropTypes.string),
client: PropTypes.object,
path: PropTypes.string,
PageSize: PropTypes.number,
btnClass: PropTypes.string,
dataTestWrapper: PropTypes.string,
dataTestSearchInput: PropTypes.string,
dataTestItem: PropTypes.string,
renderTextItemOption: PropTypes.func,
typeNameQuery: PropTypes.string,
labelProperty: PropTypes.string,
error: PropTypes.string,
errorZoneClassName: PropTypes.string,
traversal: PropTypes.object,
path: PropTypes.string,
qs: PropTypes.array,
queryCondition: PropTypes.string,
}

0 comments on commit 88066eb

Please sign in to comment.