import type { FC } from 'react'; import { FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import IconPinned from '@/images/icons/icon_pinned.svg?react'; import { Badge } from '@/mastodon/components/badge'; import { Button } from '@/mastodon/components/button'; import { Icon } from '@/mastodon/components/icon'; import { StatusHeader } from '@/mastodon/components/status/header'; import type { StatusHeaderRenderFn } from '@/mastodon/components/status/header'; import { useAccountContext } from '../hooks/useAccountContext'; import classes from '../styles.module.scss'; export const renderPinnedStatusHeader: StatusHeaderRenderFn = ({ featured, ...args }) => { if (!featured) { return ; } return ( } label={ } /> } /> ); }; export const PinnedShowAllButton: FC = () => { const { onShowAllPinned } = useAccountContext(); return ( ); };