/* eslint-disable react/prop-types */ import React from 'react'; import { Label, Icon, Image, Grid, Segment, Header, } from 'semantic-ui-react'; import { AD_HIGHLIGHT_COLOR } from '../store/utility'; // *************************************************** // *************** Display one ad Post *************** // *************************************************** function KendraAnswer({ ansId, ansType, documentTitle, documentId, documentExcerpt, documentName, onAnswerClick, onFileClick, highLightAnswer, }) { const segmentStyle = { padding: '0.5em', backgroundColor: highLightAnswer ? AD_HIGHLIGHT_COLOR : "white", // backgroundColor: "white", border: "none" // color: "black" }; const headerStyle = { border: 0, margin: '-0.25em 0em -0.25em 0em', // background: highLightAnswer ? "4B4f69" : "#F5F5F6", // background: "4B4f69", // color: '#0F7CC6', color: '#64AEE8', cursor: 'pointer', }; const suggestedAnswer = (ansType === "ANSWER") ? : null return (
{suggestedAnswer} {documentTitle} {/*
*/}
{/* Display file name */} {/* Display document excerpt */}
{/* */} ); } export default KendraAnswer;