добавлен контейнер Заявка оформлена
This commit is contained in:
@@ -11,7 +11,9 @@ export const PinkButton:React.FC<TProps> = React.memo((props) => {
|
||||
return <button
|
||||
style={{width: props.width ? props.width : ''}}
|
||||
className="main-part-text-button"
|
||||
onClick={() => props?.onClick()}
|
||||
onClick={() => {
|
||||
return props?.onClick ? props.onClick() : null;
|
||||
}}
|
||||
type={props.type ? props.type : 'button'}
|
||||
>
|
||||
{props.textButton}
|
||||
|
||||
Reference in New Issue
Block a user