payzli-ui-aryan
Version:
A custom react components library
16 lines (15 loc) • 463 B
TypeScript
export interface ILinkProps {
label: string;
href: string;
target?: React.HTMLAttributeAnchorTarget | undefined;
rel?: string;
onClick?: () => void;
ref?: any;
className?: string;
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
fontFamily?: "regular" | "medium" | "semibold" | "bold" | "thin";
underline?: boolean;
type?: "heading" | "text";
style?: React.CSSProperties;
children?: React.ReactNode;
}