D gamer007/add microsoft oauth (#5103)
Need to create a new branch because original branch name is `main` and we cannot push additional commits Linked to https://github.com/twentyhq/twenty/pull/4718   --------- Co-authored-by: DGamer007 <prajapatidhruv266@gmail.com>
This commit is contained in:
7
packages/twenty-ui/src/display/icon/assets/microsoft.svg
Normal file
7
packages/twenty-ui/src/display/icon/assets/microsoft.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none">
|
||||
<path fill="#F35325" d="M1 1h6.5v6.5H1V1z"/>
|
||||
<path fill="#81BC06" d="M8.5 1H15v6.5H8.5V1z"/>
|
||||
<path fill="#05A6F0" d="M1 8.5h6.5V15H1V8.5z"/>
|
||||
<path fill="#FFBA08" d="M8.5 8.5H15V15H8.5V8.5z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 355 B |
@ -0,0 +1,14 @@
|
||||
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} />;
|
||||
};
|
||||
@ -8,6 +8,7 @@ export * from './icon/components/IconAddressBook';
|
||||
export * from './icon/components/IconGmail';
|
||||
export * from './icon/components/IconGoogle';
|
||||
export * from './icon/components/IconGoogleCalendar';
|
||||
export * from './icon/components/IconMicrosoft';
|
||||
export * from './icon/components/IconTwentyStar';
|
||||
export * from './icon/components/IconTwentyStarFilled';
|
||||
export * from './icon/components/TablerIcons';
|
||||
|
||||
Reference in New Issue
Block a user