interface Props extends React.ButtonHTMLAttributes { isModelLoading: boolean; isTranscribing: boolean; } export function TranscribeButton(props: Props): JSX.Element { const { isModelLoading, isTranscribing, onClick, ...buttonProps } = props; return ( ); } export function Spinner(props: { text: string }): JSX.Element { return (
{props.text}
); }