Skip to main content
Glama
AddressDisplay.tsx514 B
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import { formatAddress } from '@medplum/core'; import type { Address } from '@medplum/fhirtypes'; import type { JSX } from 'react'; export interface AddressDisplayProps { readonly value?: Address; } export function AddressDisplay(props: AddressDisplayProps): JSX.Element | null { const address = props.value; if (!address) { return null; } return <>{formatAddress(address)}</>; }

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