import isNil from '../../../utils/isNil'; export const renderHeader = (title: React.ReactNode) => { if (isNil(title)) { return null; } return (