From 7181cbd5806dc7c27a59e4cab304865810dac4f6 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 30 May 2022 16:08:03 +0430 Subject: [PATCH] update src/components/Accordion/AccordionDesign1/index.js, src/components/ButtonDesign/Button/index.js, src/components/MiniComponents/OfferSection/index.js and default.js --- .../Accordion/AccordionDesign1/index.js | 27 ++++++++++--------- src/components/ButtonDesign/Button/index.js | 6 ++--- .../MiniComponents/OfferSection/index.js | 8 +++++- src/components/ThemeColor/default.js | 2 +- 4 files changed, 26 insertions(+), 17 deletions(-) diff --git a/src/components/Accordion/AccordionDesign1/index.js b/src/components/Accordion/AccordionDesign1/index.js index 931e526..e11f42e 100644 --- a/src/components/Accordion/AccordionDesign1/index.js +++ b/src/components/Accordion/AccordionDesign1/index.js @@ -51,32 +51,34 @@ const AccordionDesign1 = ({ items, vod }) => { {/* child */} {activeAccordion === item && item.subItems.map((subItem, i) => ( -
+
{vod === !true && ( line )} - 1 + {i + 1}
-
+

{subItem.name}

{vod ? ( <> -

- دقیقه: - {item.min} -

-
) : ( <> @@ -105,6 +107,7 @@ export default AccordionDesign1; AccordionDesign1.defaultProps = { vod: true, + items: [ { title: diff --git a/src/components/ButtonDesign/Button/index.js b/src/components/ButtonDesign/Button/index.js index 7204a81..7822684 100644 --- a/src/components/ButtonDesign/Button/index.js +++ b/src/components/ButtonDesign/Button/index.js @@ -7,13 +7,12 @@ const Button = ({ text, onClick, sharpStyle, + clippath, }) => { return (