Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraghazra committed Oct 24, 2024
1 parent 23f0271 commit 6e124b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/blade/src/components/TopNav/_decisions/decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The navigation bar is positioned at the top of the screen that provides quick ac
items={[
{ href: '/home', title: 'Home' },
{ href: '/payroll', title: 'Payroll' },
{ href: '/payments', title: 'Payments', isAlwaysInMore: true, },
{ href: '/payments', title: 'Payments', isAlwaysInOverflowMenu: true, },
]}
>
{({ items, overflowingItems }) => {
Expand Down Expand Up @@ -168,7 +168,7 @@ TabNav automatically handles all these edge cases & responsiveness.
description: 'rize description',
icon: RizeIcon,
// force this item to always be inside "more" regardless of screen size
isAlwaysInMore: true,
isAlwaysInOverflowMenu: true,
},
]}
>
Expand Down Expand Up @@ -215,7 +215,7 @@ type TabNav = {
/**
* force this item to always be inside "more" regardless of screen size
*/
isAlwaysInMore?: boolean;
isAlwaysInOverflowMenu?: boolean;
}
>;
};
Expand Down Expand Up @@ -520,7 +520,7 @@ A data driven API where we pass the data for the items and use render props to r
description: 'rize description',
icon: RizeIcon,
// force this item to always be inside "more" regardless of screen size
isAlwaysInMore: true,
isAlwaysInOverflowMenu: true,
},
]}
>
Expand Down

0 comments on commit 6e124b6

Please sign in to comment.