Skip to content

Commit

Permalink
Merge pull request #809 from statisticsnorway/remove_ref_proptype_input
Browse files Browse the repository at this point in the history
Remove ref proptype input
  • Loading branch information
johnnadeluy authored Jul 6, 2023
2 parents 5a08856 + 497669b commit 3a466b1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.0.86",
"version": "2.0.87",
"description": "Component library for SSB (Statistics Norway)",
"main": "lib/bundle.js",
"scripts": {
Expand Down
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 3a466b1

Please sign in to comment.