import React from 'react' export default (props:{id:string, text:string, state:any, children:any})=> { return <>
{return false}} onClick={()=> { let el = document.getElementById("dropdown_body_"+ props.id) as HTMLElement if(el.style.maxHeight == "500px") { el.style.transition = "all 0.2s cubic-bezier(0, 1, 0, 1)"; el.style.maxHeight = "0px"; (document.getElementById("dropdown_title_"+ props.id) as any).style.transform = null; } else { el.style.transition = "all 0.3s ease-out"; el.style.maxHeight = "500px"; (document.getElementById("dropdown_title_"+ props.id) as any).style.transform = "rotate(180deg)"; } }} > {props.text}
received transaction count
{props.children}
}