diff --git a/packages/desktop/src/main/resources/screenshots/CustomAlert_1_desktop.png b/packages/desktop/src/main/resources/screenshots/CustomAlert_1_desktop.png index e79077a37..86a064cd0 100644 Binary files a/packages/desktop/src/main/resources/screenshots/CustomAlert_1_desktop.png and b/packages/desktop/src/main/resources/screenshots/CustomAlert_1_desktop.png differ diff --git a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx index e4a9bc62c..2c1e42eb6 100644 --- a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx +++ b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx @@ -1,6 +1,5 @@ import { AlertBlockControl, - Breaker, Card, FlexItem, FlexPos, @@ -10,8 +9,6 @@ import { } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' -import { Paragraph } from '../typography' - export interface CustomAlertProps { icon?: ReactNode shadow?: string @@ -50,9 +47,7 @@ export const CustomAlert: FC = ({ > {icon && {icon}} - - - + {children} {onHide !== undefined ? ( = ({ > {icon && {icon}} - - - + {children} {onHide !== undefined ? (