фиксы, добавлены ссылки в футер
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user