import type { JSXElementConstructor } from "react";
type IconProps = {
className?: string;
};
export const oAuthProviders = {
vk: {
name: "ВКонтакте",
icon: ({ ...props }: IconProps) => (
),
},
github: {
name: "Github",
icon: ({ ...props }: IconProps) => (
),
},
} as const satisfies Record<
string,
{
name: string;
icon: JSXElementConstructor>;
}
>;
export type OAuthProvider = keyof typeof oAuthProviders;