From 5a515a2ffa22f8d34d21e2b8e089b620aeb2f1bc Mon Sep 17 00:00:00 2001 From: olegstan Date: Fri, 22 Sep 2023 14:47:59 +0300 Subject: [PATCH] container style --- src/components/Form/functions/formSelect.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Form/functions/formSelect.jsx b/src/components/Form/functions/formSelect.jsx index 6b276c0..b16c414 100644 --- a/src/components/Form/functions/formSelect.jsx +++ b/src/components/Form/functions/formSelect.jsx @@ -105,14 +105,14 @@ export default function formSelect(Base) } } - renderSelect({field, items, text, defaultText, disabled = false, callback, size, textLength = 25, className, style = {}, getContainerStyle = {}} = {}) + renderSelect({field, items, text, defaultText, disabled = false, callback, size, textLength = 25, className, style = {}, containerStyle = {}} = {}) { return } - renderSelectStyle1({field, items, text, defaultText, disabled = false, callback, size, textLength = 25, className, style = {}, getContainerStyle = {}} = {}) + renderSelectStyle1({field, items, text, defaultText, disabled = false, callback, size, textLength = 25, className, style = {}, containerStyle = {}} = {}) { + console.log('-------') + console.log(style) + console.log(containerStyle) + return this.renderSelect({...arguments[0], ...{className: 'style1'}}) } }