Update & format
This commit is contained in:
@@ -7,7 +7,7 @@ type Props = {
|
||||
buttonProps?: Omit<ComponentProps<'button'>, 'onClick'> &
|
||||
VariantProps<typeof buttonVariants> & {
|
||||
asChild?: boolean;
|
||||
},
|
||||
};
|
||||
type?: 'signIn' | 'signUp';
|
||||
};
|
||||
|
||||
@@ -26,15 +26,13 @@ export const MicrosoftSignInButton = ({
|
||||
<div className='flex flex-row my-auto space-x-2'>
|
||||
<div className='flex flex-row my-auto'>
|
||||
<svg className='scale-150' viewBox='0 0 23 23'>
|
||||
<path fill='#f35325' d='M1 1h10v10H1z'/>
|
||||
<path fill='#81bc06' d='M12 1h10v10H12z'/>
|
||||
<path fill='#05a6f0' d='M1 12h10v10H1z'/>
|
||||
<path fill='#ffba08' d='M12 12h10v10H12z'/>
|
||||
<path fill='#f35325' d='M1 1h10v10H1z' />
|
||||
<path fill='#81bc06' d='M12 1h10v10H12z' />
|
||||
<path fill='#05a6f0' d='M1 12h10v10H1z' />
|
||||
<path fill='#ffba08' d='M12 12h10v10H12z' />
|
||||
</svg>
|
||||
</div>
|
||||
<p>
|
||||
{type === 'signIn' ? 'Sign In' : 'Sign Up'} with Microsoft
|
||||
</p>
|
||||
<p>{type === 'signIn' ? 'Sign In' : 'Sign Up'} with Microsoft</p>
|
||||
</div>
|
||||
</Button>
|
||||
);
|
||||
|
Reference in New Issue
Block a user