Skip to main content
Glama
Panel.stories.tsx1.09 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import type { Meta } from '@storybook/react'; import type { JSX } from 'react'; import { Document } from '../Document/Document'; import { Panel } from './Panel'; export default { title: 'Medplum/Panel', component: Panel, } as Meta; export const Basic = (): JSX.Element => ( <Document> <Panel>Your content here</Panel> </Document> ); export const ExtraShadow = (): JSX.Element => ( // 'xs' | 'sm' | 'md' | 'lg' | 'xl' <Document> <Panel shadow="xl">Your content here</Panel> </Document> ); export const NoBorder = (): JSX.Element => ( <Document> <Panel withBorder={false}>Your content here</Panel> </Document> ); export const Rounded = (): JSX.Element => ( // 'xs' | 'sm' | 'md' | 'lg' | 'xl' <Document> <Panel radius="xl">Your content here</Panel> </Document> ); export const Nested = (): JSX.Element => ( <Document> <Panel> Outer Panel <Panel radius="xl">Inner Panel</Panel> </Panel> </Document> );

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/medplum/medplum'

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