techsbcn-storybook 0.26.2 → 0.26.3
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/techsbcn-storybook.cjs.development.js +5 -0
- package/dist/techsbcn-storybook.cjs.development.js.map +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js.map +1 -1
- package/dist/techsbcn-storybook.esm.js +5 -0
- package/dist/techsbcn-storybook.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/fields/DatePickerComponent/DatePickerComponent.tsx +6 -1
|
@@ -3186,6 +3186,11 @@ var DatePickerComponent = function DatePickerComponent(props) {
|
|
|
3186
3186
|
hover = _React$useState2[0],
|
|
3187
3187
|
setHover = _React$useState2[1];
|
|
3188
3188
|
|
|
3189
|
+
React.useEffect(function () {
|
|
3190
|
+
var _props$value;
|
|
3191
|
+
|
|
3192
|
+
setValue((_props$value = props.value) != null ? _props$value : null);
|
|
3193
|
+
}, [props.value]);
|
|
3189
3194
|
return React__default.createElement(_.Box, {
|
|
3190
3195
|
className: "data-picker-component",
|
|
3191
3196
|
width: "100%"
|