IExpansionPanelHeaderProps

interface
Disclosure

Props for the clickable header row of OrigamExpansionPanel. Controls the expand/collapse icons, focusability, static mode, readonly state, title text and all visual surface properties.

TypeScript

Définition

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

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

expandIcon
TIcon
Icon shown when the panel is collapsed (indicating it can be expanded).
collapseIcon
TIcon
Icon shown when the panel is expanded (indicating it can be collapsed).
hideActions
boolean
Hide the expand/collapse chevron icon entirely.
focusable
boolean
Add a visible focus ring on the header when it receives keyboard focus.
static
boolean
Render the header without interactive behaviour — useful for purely decorative panels.
readonly
boolean
Prevent the user from toggling the panel open/closed.
title
string
Header label text. Override via the default slot for richer markup.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Custom expand/collapse icons

html