diff options
author | ilyayudovin <46264063+ilyayudovin@users.noreply.github.com> | 2020-11-17 15:51:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 15:51:37 +0300 |
commit | bd9a1b7f4222788c784c2c14366e5181da520cf9 (patch) | |
tree | 5227a935584dbbdf68f8be8278a3fdeb7b300734 /src/components/ModalScreen/ModalScreen.tsx | |
parent | db731f1b88fdfa95f16255767e44762211f47196 (diff) | |
parent | fe82b4e0ef835e6921575f1927174479bea7f777 (diff) | |
download | which-ui-bd9a1b7f4222788c784c2c14366e5181da520cf9.tar.gz |
Merge pull request #109 from which-ecosystem/avatarCrop
fix: clear eslint errors
Diffstat (limited to 'src/components/ModalScreen/ModalScreen.tsx')
-rw-r--r-- | src/components/ModalScreen/ModalScreen.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ModalScreen/ModalScreen.tsx b/src/components/ModalScreen/ModalScreen.tsx index b71c2c8..3d0db34 100644 --- a/src/components/ModalScreen/ModalScreen.tsx +++ b/src/components/ModalScreen/ModalScreen.tsx @@ -42,7 +42,9 @@ const Transition = React.forwardRef(( ref: React.Ref<unknown> ) => <Slide direction="left" ref={ref} {...props} />); -const ModalScreen: React.FC<PropTypes> = ({ title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children }) => { +const ModalScreen: React.FC<PropTypes> = ( + { title, actionIcon, handleAction, isActionDisabled, handleCloseModal, children } +) => { const [isOpen, setIsOpen] = useState<boolean>(true); const classes = useStyles(); const theme = useTheme(); |