import { Spinner } from '../ReactIcons/Spinner'; type NextButtonProps = { isLoading?: boolean; loadingMessage?: string; text: string; hasNextArrow?: boolean; onClick?: () => void; type?: string; }; export function NextButton(props: NextButtonProps) { const { isLoading = false, text = 'Next Step', type = 'button', loadingMessage = 'Please wait ..', onClick = () => null, hasNextArrow = true, } = props; return ( ); }