IDisplayProps

interface
Display & Responsive

Display contract — lets a component declare its own mobile breakpoint, overriding the global one injected by useDisplay().

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

mobileBreakpoint
number | TBreakpoint
Breakpoint below which the component is considered "mobile". Accepts a pixel value or a named breakpoint token (xs, sm, md, lg, xl, xxl).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Overriding the mobile breakpoint on a component

typescript