import React from 'react'
import styles from './SaveButton.module.css'

interface CreateSurveyButtonProps {
    onClick(): void;
}

const SaveButton: React.FC<CreateSurveyButtonProps> = ({onClick}) => {
    return (
        <button onClick={onClick} className={styles.createSurveyButton} >
            Сохранить
        </button>
    );
}

export default SaveButton;