ywana-core8 0.0.348 → 0.0.349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2074,6 +2074,8 @@ var LoginBox = function LoginBox(_ref) {
2074
2074
  userLabel = _ref$userLabel === void 0 ? "User" : _ref$userLabel,
2075
2075
  _ref$passwordLabel = _ref.passwordLabel,
2076
2076
  passwordLabel = _ref$passwordLabel === void 0 ? "Password" : _ref$passwordLabel,
2077
+ _ref$passwordValue = _ref.passwordValue,
2078
+ passwordValue = _ref$passwordValue === void 0 ? '' : _ref$passwordValue,
2077
2079
  _ref$loginLabel = _ref.loginLabel,
2078
2080
  loginLabel = _ref$loginLabel === void 0 ? "Log In" : _ref$loginLabel,
2079
2081
  onOK = _ref.onOK,
@@ -2087,7 +2089,7 @@ var LoginBox = function LoginBox(_ref) {
2087
2089
  user = _useState[0],
2088
2090
  setUser = _useState[1];
2089
2091
 
2090
- var _useState2 = React.useState(''),
2092
+ var _useState2 = React.useState(passwordValue),
2091
2093
  password = _useState2[0],
2092
2094
  setPassword = _useState2[1];
2093
2095