mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-02 12:22:15 +00:00
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
16 lines
466 B
TypeScript
16 lines
466 B
TypeScript
import { ArrowRightIcon } from "@heroicons/react/24/solid";
|
|
import { ReactNode } from "react";
|
|
|
|
export const ExternalLink = ({ children, href }: { children: ReactNode; href: string }) => {
|
|
return (
|
|
<a
|
|
href={href}
|
|
className="inline-flex space-x-2 rounded-lg bg-gray-700 px-3 py-1 text-sm font-medium text-gray-100 hover:bg-gray-500 hover:text-white"
|
|
>
|
|
<div>{children}</div>
|
|
|
|
<ArrowRightIcon className="block w-4" />
|
|
</a>
|
|
);
|
|
};
|