@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
16 lines (13 loc) • 419 B
TypeScript
/**
* Copyright IBM Corp. 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { IconProps } from './Icon';
export interface CarbonIconProps extends IconProps {
size?: number | string;
}
export type CarbonIconType = React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<React.ReactSVGElement>
>;