callstack / callstack/react-native-paper
Subtitle: Why was the subtitle prop deprecated in Appbar.Content when MD3 explicitly supports subtitles in app bars?
- Lingua principale
- TypeScript
- Stelle
- 14.5k
- Fork
- 2.2k
- Merge medio
- 5g 23h
- PR unite (30g)
- 12
Descrizione
The subtitle and subtitleStyle props on Appbar.Content are marked as deprecated in v5.x, yet the [[Material Design 3 specification for app bars]](https://m3.material.io/components/app-bars/specs) clearly shows subtitles as a supported and documented part of the component across all app bar sizes (small, medium, and large).
As seen in the MD3 spec, all center-aligned and expanding app bar variants include a Headline + Subtitle layout.
**A few questions:**
- What was the reasoning behind deprecating the subtitle prop in the v5 / MD3 theme update?
- Is there an officially recommended alternative for rendering a subtitle under the title in Appbar.Header?
- Are there any plans to reintroduce subtitle support, perhaps tied to the mode prop (e.g., only for medium or large modes where the spec shows it)?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.