Skip to content

Commit

Permalink
Remove ref prop type for Input
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnadeluy committed Jul 6, 2023
1 parent 5a08856 commit 4991537
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ Available props:
| submitCallback | func | Callback for onSubmit |
| type | string | Changes input type. Optional parameters like 'url', 'email' etc. |
| value | string | Input value. Can be initiated with a value |
| ref | instanceof element | Reference to an instance of the input element wrapper |

__Dependencies__
- [InputError](../InputError)
1 change: 0 additions & 1 deletion src/components/Input/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Input.propTypes = {
submitCallback: PropTypes.func,
type: PropTypes.string,
value: PropTypes.string,
ref: PropTypes.shape({ current: PropTypes.instanceOf(Element) }),
};

export default Input;

0 comments on commit 4991537

Please sign in to comment.