import React from 'react'; import { TipIcon } from './TipIcon'; interface CommonHeaderProps { title: string; desc?: React.ReactNode; actions?: React.ReactNode; } export const CommonHeader: React.FC = React.memo((props) => { return ( <>

{props.title}

{props.desc && } {props.actions &&
{props.actions}
} ); }); CommonHeader.displayName = 'CommonHeader';