Skip to main content
Glama

mcp-google-sheets

todo-timeline-status.tsx741 B
import { t } from 'i18next'; import { STATUS_VARIANT, Todo } from '@activepieces/shared'; interface TodoTimelineStatusProps { todo: Todo; } export const TodoTimelineStatus = ({ todo }: TodoTimelineStatusProps) => { if (todo.status.variant === STATUS_VARIANT.NEUTRAL) { return null; } const bgColor = { [STATUS_VARIANT.POSITIVE]: 'bg-emerald-700', [STATUS_VARIANT.NEGATIVE]: 'bg-destructive-300', [STATUS_VARIANT.NEUTRAL]: 'bg-gray-700', }[todo.status.variant]; return ( <div className="flex justify-center mt-6"> <div className={`${bgColor} text-background text-sm rounded-sm py-1 px-4`} > {t(`This todo is now marked as ${todo.status.name}`)} </div> </div> ); };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server