diff --git a/public/images/accordion+.svg b/public/images/accordion+.svg new file mode 100644 index 0000000..7c365c7 --- /dev/null +++ b/public/images/accordion+.svg @@ -0,0 +1,3 @@ + + + + diff --git a/public/images/accordion-.svg b/public/images/accordion-.svg new file mode 100644 index 0000000..f8a9171 --- /dev/null +++ b/public/images/accordion-.svg @@ -0,0 +1,3 @@ + + - + diff --git a/public/images/accordionGroup2723.svg b/public/images/accordionGroup2723.svg new file mode 100644 index 0000000..e565c15 --- /dev/null +++ b/public/images/accordionGroup2723.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/public/images/accordionGroup2724.svg b/public/images/accordionGroup2724.svg new file mode 100644 index 0000000..73bed26 --- /dev/null +++ b/public/images/accordionGroup2724.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/images/accordionGroup2725.svg b/public/images/accordionGroup2725.svg new file mode 100644 index 0000000..1c3bf85 --- /dev/null +++ b/public/images/accordionGroup2725.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/components/Accordion/AccordionDesign1/index.js b/src/components/Accordion/AccordionDesign1/index.js index 858c464..af97974 100644 --- a/src/components/Accordion/AccordionDesign1/index.js +++ b/src/components/Accordion/AccordionDesign1/index.js @@ -3,21 +3,54 @@ import CircleInCircle from "../../MiniComponents/CircleInCircle"; const AccordionDesign1 = ({ items }) => { return ( -
+
{/* header */} {items.map((item, index) => ( -
- -

{item.title}

{" "} +
+
+ +

{item.title}

+ +
+ {item.subItems.map((subItem, i) => ( +
+
+ line + 1 +
+
+

{subItem.name}

+
+ delete-button + edit-button +
+
+ ))}
))}
); }; - +// accordionGroup2723.svg +// accordionGroup2724.svg +// accordionGroup2725.svg +// accordion-.svg +// accordion+.svg export default AccordionDesign1; AccordionDesign1.defaultProps = {