import { Accordion, For, Span, Stack, Text } from "@chakra-ui/react" export const AccordionVariants = () => { return ( {(variant) => ( {variant} {items.map((item, index) => ( {item.title} {item.text} ))} )} ) } const items = [ { value: "a", title: "First Item", text: "Some value 1..." }, { value: "b", title: "Second Item", text: "Some value 2..." }, { value: "c", title: "Third Item", text: "Some value 3..." }, ]