фиксы, добавлены ссылки в футер

This commit is contained in:
DmitriyB
2022-07-27 16:04:48 +05:00
parent b9198b4fe9
commit ac5a8b6c76
4 changed files with 55 additions and 10 deletions
+11 -3
View File
@@ -1,4 +1,5 @@
import React from "react";
import React, { useEffect, useState } from "react";
import { Style } from "util";
type TProps = {
textButton: string
@@ -8,8 +9,15 @@ type TProps = {
}
export const PinkButton:React.FC<TProps> = React.memo((props) => {
return <button
style={{width: props.width ? props.width : ''}}
const [styles, setStyles] = useState<React.CSSProperties>();
useEffect(() => {
setStyles({
// backgroundColor: '#CE56C2'
})
}, [])
return <button
onMouseLeave={() => console.log('fuck')}
style={{width: props.width ? props.width : '', ...styles}}
className="main-part-text-button"
onClick={() => {
return props?.onClick ? props.onClick() : null;