Option-menu-imporovements (#11309)
- icon switching : if switching layout from table to kanban and if icon is the table icon (the default one) then automatically update the icon to the kanban icon - add tooltip on Layout default view to better explain why it's unavaialble Fixes [#689](https://github.com/twentyhq/core-team-issues/issues/689) Fixes [#688](https://github.com/twentyhq/core-team-issues/issues/688) Fixes [#686](https://github.com/twentyhq/core-team-issues/issues/686)
This commit is contained in:
@ -2,6 +2,7 @@ import { css, useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { IconCheck, IconChevronRight, IconComponent } from '@ui/display';
|
||||
import { ReactNode } from 'react';
|
||||
import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';
|
||||
import { StyledMenuItemBase } from '../internals/components/StyledMenuItemBase';
|
||||
|
||||
@ -47,7 +48,7 @@ type MenuItemSelectProps = {
|
||||
disabled?: boolean;
|
||||
hovered?: boolean;
|
||||
hasSubMenu?: boolean;
|
||||
contextualText?: string;
|
||||
contextualText?: ReactNode;
|
||||
};
|
||||
|
||||
export const MenuItemSelect = ({
|
||||
|
||||
Reference in New Issue
Block a user