// @flow import * as React from 'react'; import {Button, Card, withTheme} from 'react-native-paper'; import {StyleSheet} from "react-native"; import i18n from 'i18n-js'; type Props = { navigation: Object, theme: Object, } class ActionsDashBoardItem extends React.PureComponent { colors: Object; constructor(props) { super(props); this.colors = this.props.theme.colors; } openDrawer = () => this.props.navigation.openDrawer(); gotToSettings = () => this.props.navigation.navigate("SettingsScreen"); render() { return (