@atlaskit/inline-message
Version:
An inline message lets users know when important information is available or when an action is required.
10 lines (9 loc) • 564 B
TypeScript
import { type ComponentType } from 'react';
import type { GlyphProps } from '@atlaskit/icon';
export interface Icon {
defaultLabel: string;
icon: ComponentType<GlyphProps>;
}
export type IconAppearanceMap = Record<IconAppearance, Icon>;
export type IconAppearance = 'connectivity' | 'confirmation' | 'info' | 'warning' | 'error';
export type InlineDialogPlacement = 'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';