Skip to main content
Glama
Modal.stories.tsx635 B
import { Meta, StoryObj } from "@storybook/nextjs"; import { Modal } from "@ui/Modal"; import { fn } from "storybook/test"; const meta = { component: Modal, render: (args) => ( <Modal {...args}> Modal content... maybe there's even a button in here 😮 </Modal> ), args: { title: "Modal title", description: "Detailed description of the modal's purpose", onClose: fn(), children: <p>Hello world!</p>, }, } satisfies Meta<typeof Modal>; export default meta; type Story = StoryObj<typeof meta>; export const Primary: Story = {}; export const Large: Story = { args: { size: "lg", }, };

Latest Blog Posts

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/get-convex/convex-backend'

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