import React from 'react'; import { IconProps } from '../../foundation'; type BaseProps = { onPress: () => void; title: string; description?: string; type?: 'actionable' | 'dismissible'; }; type InformationType = BaseProps & { variants?: 'bg_black' | 'bg_white' | 'bg_grey'; iconName?: IconProps['name']; iconColor?: IconProps['color']; }; type WarningType = BaseProps & { variants: 'bg_red'; }; type Props = InformationType | WarningType; /** * InlineAlert * - 상단 또는 하단에 고정되어 노출되는 알림 컴포넌트 * - type에 따라 정보 알림과 경고 알림으로 나뉩니다 * - 스크롤에 포함되지 않도록 주의해주세요 * - 노출 여부는 호출부에서 관리합니다 * * ### Props * - `variants` 값에 따라 prop 사용 여부가 다를 수 있습니다. * * ### `variants` * - 배경 색상 * - 'bg_black' | 'bg_white' | 'bg_grey' | 'bg_red' * - default: 'bg_grey' * * ### `title` * - 알림 제목 * * ### `description` * - 알림 내용 * * ### `iconName` * - 알림 아이콘 * - default: 'information_circle_filled' * - variant === 'bg_red' 일 때 미제공 prop. 정해진 아이콘 사용 * * ### `iconColor` * - 아이콘 색상 * - default: 'text_secondary' * - variant === 'bg_red' 일 때 미제공 prop. 정해진 색상 사용 * * ### `type` * - 'actionable' 오른쪽 화살표 아이콘을 노출 * - 'dismissible' 오른쪽 x 아이콘을 노출 * - default: 'actionable' * * ### `onPress` * - 우측에 화살표 또는 x 아이콘 클릭 시 이벤트 * * @example * ```tsx * * * // 상단 고정 * * {...} * // 하단 고정 * * * ``` */ export declare function InlineAlert(props: Props): React.JSX.Element; export {};