mirror of https://github.com/trezor/trezor-wallet
- update MODAL action constants - ModalReducer refactoring (field "opened" replaced by "context") - implementing "context" in all componentspull/174/head
parent
0f592abfb1
commit
41b78390ed
@ -1,17 +1,7 @@
|
||||
/* @flow */
|
||||
|
||||
|
||||
export const ON_PASSPHRASE_CHANGE: 'action__on_passphrase_change' = 'action__on_passphrase_change';
|
||||
export const ON_PASSPHRASE_SHOW: 'action__on_passphrase_show' = 'action__on_passphrase_show';
|
||||
export const ON_PASSPHRASE_HIDE: 'action__on_passphrase_hide' = 'action__on_passphrase_hide';
|
||||
export const ON_PASSPHRASE_SAVE: 'action__on_passphrase_save' = 'action__on_passphrase_save';
|
||||
export const ON_PASSPHRASE_FORGET: 'action__on_passphrase_forget' = 'action__on_passphrase_forget';
|
||||
export const ON_PASSPHRASE_FOCUS: 'action__on_passphrase_focus' = 'action__on_passphrase_focus';
|
||||
export const ON_PASSPHRASE_BLUR: 'action__on_passphrase_blur' = 'action__on_passphrase_blur';
|
||||
export const ON_PASSPHRASE_SUBMIT: 'action__on_passphrase_submit' = 'action__on_passphrase_submit';
|
||||
|
||||
export const FORGET: 'modal__forget' = 'modal__forget';
|
||||
export const REMEMBER: 'modal__remember' = 'modal__remember';
|
||||
export const ON_FORGET: 'modal__on_forget' = 'modal__on_forget';
|
||||
export const ON_REMEMBER: 'modal__on_remember' = 'modal__on_remember';
|
||||
export const CLOSE: 'modal__close' = 'modal__close';
|
||||
export const OPEN_EXTERNAL_WALLET: 'modal__external_wallet' = 'modal__external_wallet';
|
||||
export const CONTEXT_NONE: 'modal_ctx_none' = 'modal_ctx_none';
|
||||
export const CONTEXT_DEVICE: 'modal_ctx_device' = 'modal_ctx_device';
|
||||
export const CONTEXT_EXTERNAL_WALLET: 'modal_ctx_external-wallet' = 'modal_ctx_external-wallet';
|
||||
|
Loading…
Reference in new issue