Skip to main content

SettingsSectionProps

Props for SettingsSection.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { SettingsSectionProps } from "@mapcairn/map";

interface SettingsSectionProps

Properties​

headingLevel​

readonly headingLevel?: HeadingLevel;

The heading level. Defaults to 3, below the sheet's h2 title.

headingRef​

readonly headingRef?: Ref<HTMLHeadingElement>;

Receives the heading, so the sheet can focus it.

privacyHref​

readonly privacyHref?: string;

Where the privacy policy is. Defaults to /privacy.

privacyNote​

readonly privacyNote?: ReactNode;

The host's privacy statement, shown under the Privacy heading. Defaults to the catalogue's settings.privacy.default, which names no provider because the SDK does not know which services a host uses. A host names its own providers here and says what it sends to each. null or an empty string shows no statement. Phrasing content only: it sits inside a paragraph.

See also​

Source: packages/map/src/panels/SettingsSection/SettingsSection.tsx:68