UNPKG

@atlaskit/section-message

Version:

A section message is used to alert users to a particular section of the screen.

11 lines (10 loc) 485 B
import React, { type ComponentType } from 'react'; import type { Appearance, SectionMessageProps } from '../types'; export declare function getAppearanceIconStyles(appearance: Appearance, icon: SectionMessageProps['icon']): { Icon: React.ElementType<any, keyof React.JSX.IntrinsicElements> | (({ primaryColor }: { primaryColor: string; }) => React.JSX.Element); backgroundColor: string; primaryIconColor: string; LegacyFallbackIcon?: ComponentType<any>; };