@primer/react
Version:
An implementation of GitHub's Primer Design System using React
14 lines • 700 B
TypeScript
import type React from 'react';
import { type CSSProperties, type PropsWithChildren } from 'react';
import type { SystemCommonProps, SystemTypographyProps } from './constants';
import type { SxProp } from './sx';
import 'focus-visible';
export type BaseStylesProps = PropsWithChildren & {
as?: React.ComponentType<any> | keyof JSX.IntrinsicElements;
className?: string;
style?: CSSProperties;
color?: string;
} & SystemTypographyProps & SystemCommonProps & SxProp;
declare function BaseStyles({ children, color, fontFamily, lineHeight, className, as: Component, style, ...rest }: BaseStylesProps): React.JSX.Element;
export default BaseStyles;
//# sourceMappingURL=BaseStyles.d.ts.map