From 43a60c3e98751e6a1af65309f38e447ce7c201de Mon Sep 17 00:00:00 2001 From: Maximiliano Forlenza Date: Thu, 17 Oct 2019 07:23:47 -0300 Subject: [PATCH] refactor(dateField): spread props --- src/components/DateField.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/DateField.js b/src/components/DateField.js index ddfe2ec..f1ccb8d 100644 --- a/src/components/DateField.js +++ b/src/components/DateField.js @@ -12,7 +12,7 @@ const handleChange = (date, onChange, currentValue, control) => { }; const DateField = ({ - control, label, value, dateFormat, maxDate, minDate, disabled, onChange + control, label, value, dateFormat, maxDate, minDate, disabled, onChange, ...props }) => (