@ -53,12 +53,16 @@ const AccordionDesign1 = ({ items, vod }) => {
item . subItems . map ( ( subItem , i ) => (
< div className = "flex flex-row items-center justify-between p-3 border-b-2 border-surfaceBorder cursor-pointer " >
< div className = "flex flex-row items-center" >
{ vod === ! true && (
< img
src = "images/accordionGroup2725.svg"
className = "w-4"
alt = "line"
/ >
< span className = "mr-3 text-sm" > 1 < / s p a n >
) }
< span className = { ` text-sm ${ vod === true ? "mr-0" : "mr-3" } ` } >
1
< / s p a n >
< / d i v >
< div className = "w-0.5 h-6 mx-3 bg-surfaceBorder" > < / d i v >
< p className = "text-sm flex-1" > { subItem . name } < / p >
@ -76,7 +80,6 @@ const AccordionDesign1 = ({ items, vod }) => {
< / >
) : (
< >
{ " " }
< img
src = "images/accordionGroup2724.svg"
className = "w-8 rounded"
@ -86,7 +89,7 @@ const AccordionDesign1 = ({ items, vod }) => {
src = "images/accordionGroup2723.svg"
className = "w-8 rounded"
alt = "edit-button"
/ > { " " }
/ >
< / >
) }
< / d i v >
@ -97,10 +100,11 @@ const AccordionDesign1 = ({ items, vod }) => {
< / s e c t i o n >
) ;
} ;
export default AccordionDesign1 ;
AccordionDesign1 . defaultProps = {
vod : fals e,
vod : tru e,
items : [
{
title :