/** * Ghost Funnel Chart Component */ import { __ } from '@wordpress/i18n'; import { Block } from '@/components/Blocks/Block'; import { BlockHeading } from '@/components/Blocks/BlockHeading'; import { BlockContent } from '@/components/Blocks/BlockContent'; import React from 'react'; import { ResponsiveFunnel } from '@nivo/funnel'; const GhostFunnelChart = (): JSX.Element => { const data = [ { id: 'step_sent', value: 66326, label: __( 'Sent', 'burst-statistics' ) }, { id: 'step_viewed', value: 62516, label: __( 'Viewed', 'burst-statistics' ) }, { id: 'step_clicked', value: 40538, label: __( 'Clicked', 'burst-statistics' ) }, { id: 'step_add_to_cart', value: 25892, label: __( 'Add To Cart', 'burst-statistics' ) }, { id: 'step_purchased', value: 17258, label: __( 'Purchased', 'burst-statistics' ) } ]; const blockHeadingProps = { title: __( 'Funnel', 'burst-statistics' ) }; const blockContentProps = { className: 'p-0' }; return (
); }; export default GhostFunnelChart;