import React from 'react'; import { Modal, Button, List, Divider } from 'antd'; import { CircleDot, Play, TrendingUp, Radio, Sparkles, Plug, ArrowRight } from 'lucide-react'; import { useHistory } from 'react-router-dom'; import { onboarding } from 'App/routes'; import { useStore } from 'App/mstore'; interface SpotToOpenReplayPromptProps { isVisible: boolean; onCancel: () => void; } const SpotToOpenReplayPrompt = ({ isVisible, onCancel }: { isVisible: boolean; onCancel: () => void; }) => { const { userStore } = useStore(); const history = useHistory(); const features = [ { icon: , text: 'Spot', noBorder: true }, { isDivider: true }, { icon: , text: 'Session Replay & DevTools' }, { icon: , text: 'Product Analytics' }, { icon: , text: 'Co-Browsing (Live Session Replay & Customer Support)' }, { icon: , text: 'AI Powered Features' }, { icon: , text: 'Integrations & more' }, ]; const onUpgrade = () => { userStore.upgradeScope().then(() => { history.push(onboarding()); onCancel(); }) } return ( Cancel , , ]} >

By setting up OpenReplay, you'll unlock access to the following core features available under the OpenReplay free tier.

item.isDivider ? ( + Plus ) : ( ) } />
); }; export default SpotToOpenReplayPrompt;