api requests
This commit is contained in:
parent
fe74490440
commit
5a1cc7c43c
22 changed files with 665 additions and 133 deletions
|
|
@ -2,12 +2,12 @@ import React from 'react'
|
|||
import styles from './SaveButton.module.css'
|
||||
|
||||
interface CreateSurveyButtonProps {
|
||||
// onClick(): void;
|
||||
onClick(): void;
|
||||
}
|
||||
|
||||
const SaveButton: React.FC<CreateSurveyButtonProps> = () => {
|
||||
const SaveButton: React.FC<CreateSurveyButtonProps> = ({onClick}) => {
|
||||
return (
|
||||
<button className={styles.createSurveyButton}>
|
||||
<button onClick={onClick} className={styles.createSurveyButton}>
|
||||
Сохранить
|
||||
</button>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue