nav-frontend-skjema
Advanced tools
Comparing version 1.0.31 to 1.0.32
@@ -7,2 +7,3 @@ import * as React from 'react'; | ||
label: string; | ||
subtext?: string; | ||
value?: string; | ||
@@ -9,0 +10,0 @@ id?: string; |
@@ -51,2 +51,3 @@ "use strict"; | ||
label = _props.label, | ||
subtext = _props.subtext, | ||
onChange = _props.onChange, | ||
@@ -69,3 +70,3 @@ inputProps = _props.inputProps, | ||
return _this2.toggleOutline(); | ||
}, onChange: this.handleChange })), React.createElement("span", { className: "inputPanel__label" }, label)); | ||
}, onChange: this.handleChange })), React.createElement("span", { className: "inputPanel__label" }, label), subtext && React.createElement("span", { className: "inputPanel__subtext" }, subtext)); | ||
} | ||
@@ -72,0 +73,0 @@ }]); |
{ | ||
"name": "nav-frontend-skjema", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"main": "lib/index.js", | ||
@@ -18,3 +18,3 @@ "types": "lib/index.d.ts", | ||
"nav-frontend-js-utils": "^1.0.6", | ||
"nav-frontend-skjema-style": "^1.0.14", | ||
"nav-frontend-skjema-style": "^1.0.15", | ||
"prop-types": "^15.5.10", | ||
@@ -26,3 +26,3 @@ "react": "^15.4.2 || ^16.0.0" | ||
"nav-frontend-js-utils": "^1.0.6", | ||
"nav-frontend-skjema-style": "^1.0.14", | ||
"nav-frontend-skjema-style": "^1.0.15", | ||
"prop-types": "^15.5.10", | ||
@@ -29,0 +29,0 @@ "react": "^15.4.2 || ^16.0.0" |
Sorry, the diff of this file is not supported yet
220343
2919