mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
15 lines
426 B
TypeScript
15 lines
426 B
TypeScript
|
|
import React from 'react';
|
||
|
|
|
||
|
|
import { Button, ButtonProps } from '@react-email/components';
|
||
|
|
|
||
|
|
interface ImmichButtonProps extends ButtonProps {}
|
||
|
|
|
||
|
|
export const ImmichButton = ({ children, ...props }: ImmichButtonProps) => (
|
||
|
|
<Button
|
||
|
|
{...props}
|
||
|
|
className="py-3 px-8 border bg-immich-primary rounded-full no-underline hover:no-underline text-white hover:text-gray-50 font-bold uppercase"
|
||
|
|
>
|
||
|
|
{children}
|
||
|
|
</Button>
|
||
|
|
);
|