@ozen-ui/kit
Version:
React component library
9 lines (8 loc) • 673 B
TypeScript
import './Link.css';
import type { ElementType } from 'react';
import { type PolymorphicComponentPropsWithoutRef } from '../../utils/polymorphicComponentWithRef';
import { type TypographyBaseProps } from '../Typography';
export declare const cnLink: import("@bem-react/classname").ClassNameFormatter;
export type LinkBaseProps = Pick<TypographyBaseProps, 'variant' | 'display' | 'defaultMargin' | 'children' | 'noWrap' | 'align'>;
export type LinkProps<As extends ElementType = 'a'> = PolymorphicComponentPropsWithoutRef<LinkBaseProps, As>;
export declare const Link: import("../../utils/polymorphicComponentWithRef").PolymorphicComponentWithRef<LinkBaseProps, "a", "as">;