import { chakra } from '@chakra-ui/system' import { useAnalyticsGraph } from 'contexts/AnalyticsGraphProvider' import React from 'react' import { AnswersCount } from 'services/analytics' import { DropOffBlock } from '../blocks/DropOffBlock' import { DropOffEdge } from './DropOffEdge' import { Edge } from './Edge' type Props = { answersCounts?: AnswersCount[] } export const Edges = ({ answersCounts }: Props) => { const { typebot } = useAnalyticsGraph() return ( <> {typebot?.edges.allIds.map((edgeId) => ( ))} {answersCounts?.map((answersCount) => ( ))} {answersCounts?.map((answersCount) => ( ))} ) }