Files
twenty/packages/twenty-front/src/modules/ui/display/icon/components/IconGoogleCalendar.tsx
2024-02-22 11:22:49 +01:00

15 lines
388 B
TypeScript

import { useTheme } from '@emotion/react';
import IconGoogleCalendarRaw from '../assets/google-calendar.svg?react';
type IconGoogleCalendarProps = {
size?: number;
};
export const IconGoogleCalendar = (props: IconGoogleCalendarProps) => {
const theme = useTheme();
const size = props.size ?? theme.icon.size.lg;
return <IconGoogleCalendarRaw height={size} width={size} />;
};