import React from 'react'; export interface IViewHeader { children?: any; className?: string; sticky?: boolean; title?: string; [x: string]: any; } export const ViewHeader: React.FC = (props) => { const { children, className = '', sticky = false, title, ...otherProps } = props; return (
{title &&

{title}

} {children}
); };