UNPKG

decentraland-ui

Version:

Decentraland's UI components and styles

22 lines (21 loc) 1.02 kB
import React from 'react'; import { NotificationActiveTab, DCLNotification, NotificationLocale } from './types'; import { ModalProps } from '../Modal/Modal'; import './NotificationsFeed.css'; interface NotificationsFeedProps { items: DCLNotification[]; isLoading: boolean; locale: NotificationLocale; isOnboarding: boolean; activeTab: NotificationActiveTab; isOpen: boolean; renderProfile?: (address: string) => JSX.Element | string | null; onChangeTab: (e: React.MouseEvent<HTMLDivElement, MouseEvent>, newActiveTab: NotificationActiveTab) => void; onBegin: (e: React.MouseEvent<HTMLButtonElement>) => void; onClose: (event: React.MouseEvent<HTMLElement> | MouseEvent, data?: ModalProps) => void; } /** * @deprecated Should start using the same component migrated to UI2. */ export default function NotificationsFeed({ items, isLoading, locale, isOnboarding, activeTab, isOpen, renderProfile, onChangeTab, onBegin, onClose }: NotificationsFeedProps): React.JSX.Element; export {};