@atlaskit/icon
Version:
An icon is a symbol representing a command, device, directory, or common action.
24 lines (23 loc) • 802 B
TypeScript
/// <reference types="react" />
import type { UNSAFE_NewGlyphProps } from '../types';
/**
* We are hiding this props from consumers as it's reserved
* for use by Icon Tile.
*/
export type InternalIconPropsNew = UNSAFE_NewGlyphProps & {
/**
* @internal NOT FOR PUBLIC USE.
* Sets whether the icon should inherit size from a parent. Used by Icon Tile.
*/
shouldScale?: boolean;
};
/**
* __Icon__
*
* An icon is used as a visual representation of common actions and commands to provide context.
*
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
*/
export declare const Icon: import("react").NamedExoticComponent<UNSAFE_NewGlyphProps>;
export default Icon;