@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) • 745 B
TypeScript
import React from 'react';
import { type TextProps } from '../Text';
import type { BaseProps } from '../component-helpers';
export declare const EyebrowTextVariants: readonly ["default", "muted", "accent"];
export type EyebrowTextVariant = (typeof EyebrowTextVariants)[number];
export type EyebrowTextProps = Omit<TextProps, 'as' | 'animate' | 'variant'> & Omit<BaseProps<HTMLSpanElement>, 'animate'> & {
variant?: EyebrowTextVariant;
['data-testid']?: string;
};
/**
* EyebrowText is a simple text component that should be used above Headings.
*/
export declare const EyebrowText: React.ForwardRefExoticComponent<Omit<EyebrowTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>> & {
testIds: {
root: string;
};
};