From 5e13761c298b47a03c7c8b408bbe6690a393ac89 Mon Sep 17 00:00:00 2001 From: "t.chigvintseva" Date: Thu, 13 Jun 2024 14:51:08 +0300 Subject: [PATCH] [BF] fix markup for CustomAlert --- .../src/main/ts/custom-alert/CustomAlert.tsx | 17 ++++++++--------- .../src/main/ts/custom-alert/CustomAlert.tsx | 16 ++++++++-------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx index ceb3b4b4a..2c1e42eb6 100644 --- a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx +++ b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx @@ -9,7 +9,6 @@ import { } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' - export interface CustomAlertProps { icon?: ReactNode shadow?: string @@ -20,14 +19,14 @@ export interface CustomAlertProps { } export const CustomAlert: FC = ({ - children, - icon, - bg, - shadow, - textColor, - onHide, - ...rest - }) => { + children, + icon, + bg, + shadow, + textColor, + onHide, + ...rest +}) => { return ( = ({ - children, - icon, - bg, - shadow, - textColor, - onHide, - ...rest - }) => { + children, + icon, + bg, + shadow, + textColor, + onHide, + ...rest +}) => { return (