DocsDevices

Devices

36
Items
8
Functions
0
Types
28
Other

checks

variable
CheckDefinition[]

ClientDevice

property

ClientDeviceCollection

property

ClientDevicePageShellProps

property

ClientDeviceSection

property

ClientDeviceSectionRow

property

ClientDeviceWithMetrics

property

ClientSectionCardProps

property

ClientSectionRowProps

property

Content

function

Content component for Cheetah device page.

Content(): Element

dapDevices

variable

Get all DAP devices

ClientDevice[]

default

function

Widget for displaying devices on the home page. Shows a truncated list of devices with images and basic details.

default(): Element

DeviceCardProps

property

DeviceFiltersClientProps

property

DevicePageModule

property

Represents a device page module with metadata and content component.

DevicePageProps

property

devices

variable

All device specifications (client-safe)

ClientDeviceCollection

deviceSlugs

variable

Array of all device slugs

string[]

deviceTypeLabels

variable

Human-readable labels for device types.

object

generateMetadata

function

Generates metadata for device pages.

generateMetadata(props: DevicePageProps): Promise

generateStaticParams

function

Generates static paths for device pages at build time.

generateStaticParams(): Promise

getDeviceBySlug

function

Get device by slug

getDeviceBySlug(slug: string): ClientDevice

getIcon

function

Get icon component by identifier

getIcon(iconId?: string): ComponentType | null

getIconId

function

Get icon identifier from component reference Used to convert icon components to string identifiers

getIconId(icon?: string | ComponentType): string

iconMap

variable
object

iconSizes

variable

Standard icon sizes for device components.

object

meta

variable
object

metadata

variable
Metadata

mobileDevices

variable

Get all mobile devices

ClientDevice[]

ModuleProps

property

ModulesProps

property

ParagraphProps

property

ParagraphsProps

property

RowProps

property

SectionProps

property

transformDevicePage

function

Transforms a device page module (meta + Content component) into a DeviceSpec

transformDevicePage(module: DevicePageModule): DeviceSpec