@primer/react
Version:
An implementation of GitHub's Primer Design System using React
17 lines • 714 B
TypeScript
import type { IconProps } from '@primer/octicons-react';
import React from 'react';
import type { SxProp } from '../sx';
import type { ComponentProps } from '../utils/types';
/**
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
*/
declare const Octicon: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
icon: React.ElementType;
color?: string;
} & IconProps & SxProp & React.RefAttributes<SVGSVGElement>>, any, SxProp, never>;
/**
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
*/
export type OcticonProps = ComponentProps<typeof Octicon>;
export default Octicon;
//# sourceMappingURL=Octicon.d.ts.map