// @flow
import * as React from 'react';
import {MaterialCommunityIcons} from "@expo/vector-icons";
import {View} from "react-native";
import HTML from "react-native-render-html";
import i18n from "i18n-js";
import {Avatar, Card, Text, withTheme, Button} from 'react-native-paper';
import PlanningEventManager from "../utils/PlanningEventManager";
function PreviewEventDashboardItem(props) {
const {colors} = props.theme;
if (props.event !== undefined && props.event !== null) {
const hasImage = props.event['logo'] !== '' && props.event['logo'] !== null;
const getImage = () => ;
return (
{hasImage ?
:
}
70 ? 100 : 50,
overflow: 'hidden',
}}>
" + props.event['description'] + ""}
tagsStyles={{
p: {color: colors.text,},
div: {color: colors.text},
}}/>
);
} else
return
}
export default withTheme(PreviewEventDashboardItem);