off animation
This commit is contained in:
@@ -79,8 +79,8 @@ export const MenuDock = ({
|
|||||||
switch (variant) {
|
switch (variant) {
|
||||||
case 'compact':
|
case 'compact':
|
||||||
return {
|
return {
|
||||||
container: 'p-1 gap-1',
|
container: 'p-1 gap-3',
|
||||||
item: 'px-5 py-3',
|
item: 'px-5 py-2',
|
||||||
icon: 'h-4 w-4',
|
icon: 'h-4 w-4',
|
||||||
text: 'text-xs'
|
text: 'text-xs'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export default function Dashboard() {
|
|||||||
<MenuDock
|
<MenuDock
|
||||||
items={menuItems}
|
items={menuItems}
|
||||||
orientation="vertical"
|
orientation="vertical"
|
||||||
|
animated={false}
|
||||||
showIndicator={false}
|
showIndicator={false}
|
||||||
showLabels={true}
|
showLabels={true}
|
||||||
variant="compact"
|
variant="compact"
|
||||||
|
|||||||
Reference in New Issue
Block a user