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