UNPKG

@yandex/ui

Version:

Yandex UI components

9 lines (8 loc) 582 B
import { FC } from 'react'; import { ExtractProps } from '@bem-react/core'; import { MessageBoxProps } from './MessageBox'; import { MessageBoxRegistry } from './MessageBox.registry/interface'; declare type PopupProps = Pick<ExtractProps<MessageBoxRegistry['Popup']>, 'visible' | 'anchor' | 'scope' | 'mainOffset' | 'secondaryOffset' | 'motionless' | 'tailOffset' | 'viewportOffset' | 'onClose' | 'onClick' | 'zIndex' | 'direction'>; export declare type MessageBoxPopupProps = MessageBoxProps & PopupProps; export declare const MessageBoxPopup: FC<MessageBoxPopupProps>; export {};