export interface Props { heading: string; subheading?: string; comp: any; } export default function(props: Props) { return (

{ props.heading }

{props.comp.separator()}

{ props.subheading }

) }