Implementing the Outlook icon for CreatedBy, only for emails. Not in this PR original scope : The similar feature for calendar created records. Since it was straightforward, I added it to the scope of this PR. Fix https://github.com/twentyhq/core-team-issues/issues/252
15 lines
408 B
TypeScript
15 lines
408 B
TypeScript
import { useTheme } from '@emotion/react';
|
|
|
|
import IconMicrosoftCalendarRaw from '../assets/microsoft-calendar.svg?react';
|
|
|
|
interface IconMicrosoftCalendarProps {
|
|
size?: number;
|
|
}
|
|
|
|
export const IconMicrosoftCalendar = (props: IconMicrosoftCalendarProps) => {
|
|
const theme = useTheme();
|
|
const size = props.size ?? theme.icon.size.lg;
|
|
|
|
return <IconMicrosoftCalendarRaw height={size} width={size} />;
|
|
};
|