ComponentsDisplay Components
Subtitle
A secondary text component for displaying subtitles, descriptions, or supporting information within the video player UI.
Usage
import { Subtitle } from 'react-native-video-toolkit';
export function Example() {
return <Subtitle text="Tap to adjust playback speed" />;
}
Props
Prop | Type | Required | Default | Description |
---|---|---|---|---|
text | string | Yes | – | The string to display. |
style | StyleProp<TextStyle> | No | – | Optional override styles (merged with theme + defaults). |
When to Use
- Use
Subtitle
for secondary information under aTitle
, such as:- Episode numbers
- Season numbers/series titles
- Short descriptions or hints