import type { ChatSkillIconId } from '../utils/chatSkills';
type IconProps = { className?: string };
function SparkIcon({ className }: IconProps) {
return (
);
}
function PageIcon({ className }: IconProps) {
return (
);
}
function SearchIcon({ className }: IconProps) {
return (
);
}
function WebIcon({ className }: IconProps) {
return (
);
}
function FormIcon({ className }: IconProps) {
return (
);
}
function TableIcon({ className }: IconProps) {
return (
);
}
function SummaryIcon({ className }: IconProps) {
return (
);
}
function AnalyzeIcon({ className }: IconProps) {
return (
);
}
const ICONS: Record JSX.Element> = {
spark: SparkIcon,
page: PageIcon,
search: SearchIcon,
web: WebIcon,
form: FormIcon,
table: TableIcon,
summary: SummaryIcon,
analyze: AnalyzeIcon,
};
export function ChatSkillIcon({ id, className }: { id: ChatSkillIconId; className?: string }) {
const Icon = ICONS[id];
return ;
}