Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
IndeterminateCheckboxCell.tsx962 B
import { useRef, useState } from "react"; import { css } from "@emotion/react"; import { Checkbox, CheckboxProps } from "@phoenix/components/checkbox"; /** * A checkbox that can be in an indeterminate state. * Borrowed from tanstack/react-table example code. */ export function IndeterminateCheckboxCell(checkboxProps: CheckboxProps) { const ref = useRef<HTMLInputElement>(null!); const [isHovered, setIsHovered] = useState(false); const { isSelected, onChange } = checkboxProps; return ( <div onClick={(e) => { // prevent conflicts with the table row click event e.stopPropagation(); onChange?.(!isSelected); }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} css={css` cursor: pointer; padding: var(--ac-global-dimension-size-25); `} > <Checkbox inputRef={ref} isHovered={isHovered} {...checkboxProps} /> </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/Arize-ai/phoenix'

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