import { JSX, Show } from 'solid-js'; import { Spinner } from '@/components'; import { SendButton } from '@/components/buttons/SendButton'; type LeadCaptureButtonProps = { buttonColor?: string; isDisabled?: boolean; isLoading?: boolean; disableIcon?: boolean; } & JSX.ButtonHTMLAttributes; // Not being used for now, keep it for future in case we want to allow users to cancel the form export const CancelLeadCaptureButton = (props: LeadCaptureButtonProps) => { return ( ); }; const SaveLeadFallback = () => { return ( Saving... ); }; export const SaveLeadButton = (props: LeadCaptureButtonProps) => { return ( }> Submit ); };