@atlaskit/inline-message
Version:
An inline message lets users know when important information is available or when an action is required.
11 lines (10 loc) • 469 B
TypeScript
import { type ComponentType } from 'react';
import type { NewCoreIconProps } from '@atlaskit/icon';
export interface Icon {
defaultLabel: string;
icon: ComponentType<NewCoreIconProps>;
}
export type IconAppearanceMap = Record<IconAppearance, Icon>;
export type IconAppearance = 'connectivity' | 'confirmation' | 'info' | 'warning' | 'error';
export type IconSpacing = 'spacious' | 'compact';
export type { Placement as PopupPlacement } from '@atlaskit/popper';