import React from "react"; import { match } from "ts-pattern"; import { getMessageWithLink } from "~lib/utils"; import type { MatchType, MatchTypeFilterValue } from "../../types"; import { ACTION_MODE, BSKY_USER_MATCH_TYPE, MATCH_TYPE_LABEL_AND_COLOR, } from "../constants"; import AsyncButton from "./AsyncButton"; import SocialLinks from "./SocialLinks"; type Props = { detectedCount: number; filterValue: MatchTypeFilterValue; onChangeFilter: (key: MatchType) => void; actionMode: (typeof ACTION_MODE)[keyof typeof ACTION_MODE]; matchTypeStats: Record, number>; importList: () => Promise; followAll: () => Promise; blockAll: () => Promise; }; const Sidebar = ({ detectedCount, filterValue, onChangeFilter, actionMode, matchTypeStats, importList, followAll, blockAll, }: Props) => { return ( ); }; export default Sidebar;