refactor: TabContainer

This commit is contained in:
Mahyar Khanbolooki
2025-07-21 15:56:22 +03:30
parent d2572d5c99
commit a0b52e7945
3 changed files with 45 additions and 26 deletions
+1 -3
View File
@@ -196,9 +196,7 @@ function AboutPage({ data }: Readonly<{ data: AboutDataModel; }>) {
return (
<div>
<TabContainer
className='h-[72px] !pt-3 !pb-2 overflow-y-hidden'>
<TabContainer>
<TabHeader
viewRenderer={firstTab()}
title='درباره ما' icon={<InfoCircle size={24} />}>
+1 -3
View File
@@ -157,9 +157,7 @@ function OrdersIndex() {
return (
<div>
<TabContainer
className='h-[72px] !pt-3 !pb-2 overflow-y-hidden'>
<TabContainer>
<TabHeader
viewRenderer={<PerformantTabRenderer rowHeight={310}>{firstTab()}</PerformantTabRenderer>}
title={categories[0].title} imageSrc={categories[0].image}>