@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
18 lines (17 loc) • 803 B
TypeScript
import React from 'react';
import type { BaseProps } from '../component-helpers';
/**
* Design tokens
*/
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css';
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/inline-link/base.css';
export type InlineLinkProps = BaseProps<HTMLAnchorElement> & {
/**
* Specify the links destination
*/
href: string;
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.HTMLAttributes<HTMLAnchorElement>;
/**
* A HTML anchor link component that renders inline with adjacent text.
*/
export declare const InlineLink: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<InlineLinkProps>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;