Skip to content

Commit

Permalink
[BF] fix markup for CustomAlert
Browse files Browse the repository at this point in the history
  • Loading branch information
t.chigvintseva committed Jun 13, 2024
1 parent c09be82 commit 5e13761
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
17 changes: 8 additions & 9 deletions packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from '@qiwi/pijma-core'
import React, { FC, ReactNode } from 'react'


export interface CustomAlertProps {
icon?: ReactNode
shadow?: string
Expand All @@ -20,14 +19,14 @@ export interface CustomAlertProps {
}

export const CustomAlert: FC<CustomAlertProps> = ({
children,
icon,
bg,
shadow,
textColor,
onHide,
...rest
}) => {
children,
icon,
bg,
shadow,
textColor,
onHide,
...rest
}) => {
return (
<AlertBlockControl
onHide={onHide}
Expand Down
16 changes: 8 additions & 8 deletions packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export interface CustomAlertProps {
}

export const CustomAlert: FC<CustomAlertProps> = ({
children,
icon,
bg,
shadow,
textColor,
onHide,
...rest
}) => {
children,
icon,
bg,
shadow,
textColor,
onHide,
...rest
}) => {
return (
<AlertBlockControl
onHide={onHide}
Expand Down

0 comments on commit 5e13761

Please sign in to comment.