import { ROUTE_PATHS } from '@config' ; import { translateRaw } from '@translations' ; import { Action } from './types' ; export const actions = [ { icon : 'tx-send' , title : translateRaw ( 'DASHBOARD_ACTIONS_SEND_ASSETS_TITLE' ) , link : ROUTE_PATHS . SEND . path , description : translateRaw ( 'DASHBOARD_ACTIONS_SEND_ASSETS_SUBTITLE' ) } , { icon : 'swap' , title : translateRaw ( 'DASHBOARD_ACTIONS_SWAP_ASSETS_TITLE' ) , link : ROUTE_PATHS . SWAP . path , description : translateRaw ( 'DASHBOARD_ACTIONS_SWAP_ASSETS_SUBTITLE' ) } , { icon : 'tx-receive' , title : translateRaw ( 'DASHBOARD_ACTIONS_REQUEST_ASSETS_TITLE' ) , link : ROUTE_PATHS . REQUEST_ASSETS . path , description : translateRaw ( 'DASHBOARD_ACTIONS_REQUEST_ASSETS_SUBTITLE' ) , filter : ( isMobile ) => isMobile } , { icon : 'buy' , title : translateRaw ( 'DASHBOARD_ACTIONS_BUY_TITLE' ) , link : ROUTE_PATHS . BUY . path , description : translateRaw ( 'DASHBOARD_ACTIONS_BUY_SUBTITLE' ) } , { icon : 'tx-sent' , title : translateRaw ( 'ADD_ACCOUNT' ) , link : ROUTE_PATHS . ADD_ACCOUNT . path , description : '' , filter : ( isMobile ) => isMobile } ] ;