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