From 0cc76bbec6d1ba22899f2edeafca6a343c76bf94 Mon Sep 17 00:00:00 2001 From: PolyakovaM <55061222+PolyakovaM@users.noreply.github.com> Date: Thu, 30 Sep 2021 12:50:44 +0300 Subject: [PATCH] feat(ott-1696): add header image on team and tournament profile (#512) * feat(ott-1696): add header image on team and tournament profile * feat(ott-1696): fix pr * Update src/features/Common/Input/styled.tsx Co-authored-by: Mirlan --- src/features/Common/Input/index.tsx | 3 +++ src/features/Common/Input/styled.tsx | 7 ++++++- src/features/ProfileHeader/index.tsx | 13 +++++++++++-- src/features/ProfileHeader/styled.tsx | 17 +++++++++++------ src/features/Search/index.tsx | 7 ++++++- src/features/TeamPage/hooks.tsx | 1 + src/features/TeamPage/index.tsx | 6 +++++- src/features/TournamentPage/hooks.tsx | 1 + src/features/TournamentPage/index.tsx | 6 +++++- src/requests/getTeamInfo.tsx | 1 + src/requests/getTournamentInfo.tsx | 1 + 11 files changed, 51 insertions(+), 12 deletions(-) diff --git a/src/features/Common/Input/index.tsx b/src/features/Common/Input/index.tsx index 0336305d..e54d5404 100644 --- a/src/features/Common/Input/index.tsx +++ b/src/features/Common/Input/index.tsx @@ -27,6 +27,7 @@ type Props = { labelLexic?: string, labelWidth?: number, maxLength?: number, + noShadow?: boolean, onBlur?: (event: FocusEvent) => void, onChange?: (event: ChangeEvent) => void, onFocus?: (event: FocusEvent) => void, @@ -50,6 +51,7 @@ export const Input = ({ labelLexic, labelWidth, maxLength, + noShadow, onBlur, onChange, onFocus, @@ -70,6 +72,7 @@ export const Input = ({ wrapperWidth={wrapperWidth} hasRightIcon={editIcon} error={error} + noShadow={noShadow} >