krypton-ui
Version:
<h1 align="center"> <p align="center"><a href="https://krypton-ui.com"><img src="https://user-images.githubusercontent.com/7073241/224507377-395bffc0-9ff7-4d74-865b-f734394a7e7e.png" alt="Krypton" width="200"></a></p> </h1>
16 lines (15 loc) • 444 B
TypeScript
import { ComponentPropsWithoutRef } from "react";
import { Color, Size } from "../../types";
type UnderlineType = "none" | "hover" | "always";
type LinkBaseType = {
color?: Color;
size?: Size;
underline?: UnderlineType;
};
type LinkType = LinkBaseType & {
children: React.ReactNode;
href: string;
};
export type WrapperStyledProps = LinkBaseType;
export type LinkProps = ComponentPropsWithoutRef<"a"> & LinkType;
export {};