Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
ProgressCircle.stories.tsx1.68 kB
import type { Meta, StoryObj } from "@storybook/react"; import { ProgressCircle } from "../src/components/progress/ProgressCircle"; import type { ProgressCircleProps } from "../src/components/progress/types"; const meta: Meta<typeof ProgressCircle> = { title: "ProgressCircle", component: ProgressCircle, parameters: { layout: "centered", docs: { description: { component: "A circular progress indicator for loading or progress feedback. Supports determinate and indeterminate states.", }, }, }, argTypes: { value: { control: { type: "number", min: 0, max: 100 }, description: "Current progress value (0-100). Ignored if indeterminate.", defaultValue: 50, }, isIndeterminate: { control: "boolean", description: "Whether the progress is indeterminate (spinning animation)", defaultValue: false, }, size: { control: { type: "radio" }, options: ["S", "M"], description: "Size of the progress circle", defaultValue: "M", }, }, tags: ["autodocs"], }; export default meta; type Story = StoryObj<typeof ProgressCircle>; export const Determinate: Story = { args: { value: 60, isIndeterminate: false, size: "M", }, }; export const Indeterminate: Story = { args: { isIndeterminate: true, size: "M", }, }; export const Sizes: Story = { render: (args: ProgressCircleProps) => ( <div style={{ display: "flex", gap: 24, alignItems: "center" }}> <ProgressCircle {...args} size="S" /> <ProgressCircle {...args} size="M" /> </div> ), args: { value: 75, isIndeterminate: false, }, };

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