import { HexString } from '@gear-js/api';
import { useState } from 'react';
import { Sails } from 'sails-js';
import { List, ProgramTabLayout, SearchForm, Skeleton } from '@/shared/ui';
import CardPlaceholderSVG from '@/shared/assets/images/placeholders/card.svg?react';
import { useEvents, EventType } from '../../api';
import { EventCard } from '../event-card';
type Props = {
programId: HexString;
sails: Sails | undefined;
};
function ProgramEvents({ programId, sails }: Props) {
const [searchQuery, setSearchQuery] = useState('');
const events = useEvents({ source: programId, name: searchQuery });
const renderEvent = (event: EventType) => ;
const renderEventSkeleton = () => ;
const renderList = () => (
);
const renderSearch = () => ;
return (
);
}
export { ProgramEvents };