@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
12 lines (11 loc) • 439 B
TypeScript
import React from 'react';
export interface IconProps extends Omit<React.SVGProps<React.ReactSVGElement>, 'ref' | 'tabIndex'> {
/**
* @see React.SVGAttributes.tabIndex
* @todo remove support for string in v12
*/
tabIndex?: string | number | undefined;
title?: string | undefined;
}
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<React.ReactSVGElement>>;
export default Icon;