f3e667a651
Closes https://github.com/twentyhq/core-team-issues/issues/496 I upgraded react tabler icons to the latest version to be able to use the newest icons. The option menu was no longer accessible on right drawer record pages, this pr fixes this and creates a new button which opens the record show page. This button is accessible via the shortcut `Command` + `Enter` https://github.com/user-attachments/assets/570071b2-4406-40bd-be48-a0e5e430ed70
15 lines
417 B
TypeScript
15 lines
417 B
TypeScript
import { useTheme } from '@emotion/react';
|
|
|
|
import IconMicrosoftCalendarRaw from '../assets/microsoft-calendar.svg?react';
|
|
|
|
interface IconMicrosoftCalendarProps {
|
|
size?: number | string;
|
|
}
|
|
|
|
export const IconMicrosoftCalendar = (props: IconMicrosoftCalendarProps) => {
|
|
const theme = useTheme();
|
|
const size = props.size ?? theme.icon.size.lg;
|
|
|
|
return <IconMicrosoftCalendarRaw height={size} width={size} />;
|
|
};
|