сверстан контейнер после нажатия на кнопку Начать демонстрацию

This commit is contained in:
DmitriyB
2022-07-25 16:50:36 +05:30
parent 28301e0964
commit 6d114f2fee
6 changed files with 149 additions and 26 deletions
+10
View File
@@ -0,0 +1,10 @@
import React from "react";
type TProps = {
onClick: () => void
textButton: string
}
export const PinkButton:React.FC<TProps> = React.memo((props) => {
return <button className="main-part-text-button" onClick={() => props.onClick()}>{props.textButton}</button>
})