mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-24 04:58:29 +03:00
22 lines
488 B
TypeScript
22 lines
488 B
TypeScript
|
|
import { LuPlus } from "react-icons/lu";
|
||
|
|
import Logo from "../Logo";
|
||
|
|
|
||
|
|
type FrigatePlusIconProps = {
|
||
|
|
className?: string;
|
||
|
|
onClick?: () => void;
|
||
|
|
};
|
||
|
|
export default function FrigatePlusIcon({
|
||
|
|
className,
|
||
|
|
onClick,
|
||
|
|
}: FrigatePlusIconProps) {
|
||
|
|
return (
|
||
|
|
<div
|
||
|
|
className={`relative flex items-center ${className ?? ""}`}
|
||
|
|
onClick={onClick}
|
||
|
|
>
|
||
|
|
<Logo className="size-full" />
|
||
|
|
<LuPlus className="absolute size-2 translate-x-3 translate-y-3/4" />
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|