import { ArticleIcon, BellIcon, GroupFeedsIcon, HashtagIcon, MediaIcon, PlusIcon, TrendingIcon, } from '@shared/icons'; import { TitleBar } from '@shared/titleBar'; import { WidgetWrapper } from '@shared/widgets'; import { TOPICS, WIDGET_KIND } from '@stores/constants'; import { useWidget } from '@utils/hooks/useWidget'; import { Widget } from '@utils/types'; export function WidgetList({ widget }: { widget: Widget }) { const { replaceWidget } = useWidget(); return (

Topics

{TOPICS.sort((a, b) => a.title.localeCompare(b.title)).map( (topic, index) => (
{topic.title}

{topic.title}

) )}

Newsfeed

Article

Media

Group feeds

Hashtag

Nostr Band

Trending posts

Trending users

Other

Notification

); }