export interface Props { title: string; description?: string; author?: { name: string; }; comp: any; } export default function(props: Props) { return (

{ props.title }

{props.author &&

By {props.author.name}

} {props.comp.separator()}

{ props.description }

) }