Skip to content

Commit 0cb5aa1

Browse files
authored
chore(alerts): fix types export warning (#6025)
1 parent 5723bc4 commit 0cb5aa1

File tree

2 files changed

+8
-2
lines changed
  • packages

2 files changed

+8
-2
lines changed

packages/blockchain-info-components/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export const TextGroup: FunctionComponent<{
262262
inline?: boolean
263263
style?: CSSProperties
264264
}>
265-
export enum ToastNatureType {
265+
enum ToastNatureType {
266266
ERROR = 'error',
267267
INFO = 'info',
268268
SUCCESS = 'success',

packages/blockchain-wallet-v4-frontend/src/data/alerts/types.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import { CoinType } from '@core/types'
2-
import { ToastNatureType } from 'blockchain-info-components'
32

43
// types
4+
export enum ToastNatureType {
5+
ERROR = 'error',
6+
INFO = 'info',
7+
SUCCESS = 'success',
8+
WARN = 'warn'
9+
}
10+
511
export type AlertType = {
612
coin?: CoinType
713
data?: any

0 commit comments

Comments
 (0)