| 1 |
import Title from "./Title"; |
| 2 |
import SubCategoryCounts from "./SubCategoryCounts"; |
| 3 |
import LastUpdatedTime from "./LastUpdatedTime"; |
| 4 |
|
| 5 |
|
| 6 |
const TitleLayoutTwo = ({attributes, titleName, subcategoriesCount, docsCount, lastUpdatedTime}) => { |
| 7 |
return <div className="betterdocs-dynamic-wrapper betterdocs-category-title-counts"> |
| 8 |
{attributes?.showTitle && <Title title={titleName} titleTag={attributes?.titleTag} />} |
| 9 |
{attributes?.showCount && <SubCategoryCounts attributes={attributes} subcategoriesCount={subcategoriesCount} docsCount={docsCount}/>} |
| 10 |
{attributes?.showLastUpdatedTime && <LastUpdatedTime attributes={attributes} lastUpdatedTime={lastUpdatedTime}/>} |
| 11 |
</div> |
| 12 |
} |
| 13 |
|
| 14 |
export default TitleLayoutTwo; |
| 15 |
|