We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { Meta, StoryObj } from "@storybook/nextjs";
import { DetailPanel } from "@common/elements/DetailPanel";
import { fn } from "storybook/test";
const meta = {
component: DetailPanel,
render: (args) => <DetailPanel {...args} />,
args: {
onClose: fn(),
},
} satisfies Meta<typeof DetailPanel>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Primary: Story = {
args: {
header: "Detail Panel Title",
content: "Hello world!",
},
};
export const WithError: Story = {
args: {
header: "Detail Panel Title",
content: "Some content",
error: "An error occurred while loading the details",
},
};
export const Loading: Story = {
args: {
header: "Detail Panel Title",
content: undefined,
},
};