import React from 'react'; interface MediaListHeaderProps { title?: string; viewAllLink?: string; viewAllText?: string; className?: string; style?: { [key: string]: any }; } export const MediaListHeader: React.FC = (props) => { const viewAllText = props.viewAllText || 'VIEW ALL'; return (

{props.title}

{props.viewAllLink ? (

{' '} {' '} {viewAllText || props.viewAllLink}{' '} {' '}

) : null}
); };