Files
twenty/packages/twenty-ui/src/display/icon/components/IconMicrosoft.tsx
2024-04-24 14:56:02 +02:00

15 lines
359 B
TypeScript

import { useTheme } from '@emotion/react';
import IconMicrosoftRaw from '../assets/microsoft.svg?react';
interface IconMicrosoftProps {
size?: number;
}
export const IconMicrosoft = (props: IconMicrosoftProps) => {
const theme = useTheme();
const size = props.size ?? theme.icon.size.lg;
return <IconMicrosoftRaw height={size} width={size} />;
};