import * as React from 'react' import { Box } from '@chakra-ui/react' import { List } from './List' import { ListItem } from './ListItem' export type VerticalListItem = { title: string isActivated?: boolean subTitle?: string icon?: React.ReactElement content: React.ReactNode } type Props = { items: VerticalListItem[] } export const ListWithVerticalLines = ({ items }: Props) => { return ( {items.map((item, idx) => ( {item.content} ))} ) }