TDisplayLevel

type
Layout & Sizing

Responsive breakpoint threshold prop — accepts a named breakpoint key or a raw pixel width, below which the component switches to its mobile behaviour.

TypeScript

Définition

La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Acceptées

Valeurs

Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.

xs
Extra-small breakpoint — typically < 600 px.
sm
Small breakpoint — typically 600–959 px.
md
Medium breakpoint — typically 960–1279 px.
lg
Large breakpoint — typically 1280–1919 px.
xl
Extra-large breakpoint — typically 1920–2559 px.
xxl
Double extra-large breakpoint — typically ≥ 2560 px.
<number>
Any integer pixel value used as a custom mobile threshold.

Écosystème

Utilisé par

Composants et props qui acceptent ce type comme valeur.

Usage

Exemples

Extraits de code prêts à coller utilisant ce type.

Hide arrows below the sm breakpoint

html

Custom pixel threshold

html