@primer/react
Version:
An implementation of GitHub's Primer Design System using React
13 lines • 538 B
TypeScript
import type React from 'react';
import { type SxProp } from '../sx';
import type { TokenBaseProps } from './TokenBase';
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic';
export interface TokenProps extends TokenBaseProps, SxProp {
/**
* A component that renders before the token text
*/
leadingVisual?: React.ElementType;
}
declare const Token: PolymorphicForwardRefComponent<"a" | "button" | "span", TokenProps>;
export default Token;
//# sourceMappingURL=Token.d.ts.map