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

{props.title}

{props.viewAllLink ? (

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

) : null}
); };