ComponentsDisplay
Subtitle
A secondary text component for displaying subtitles, descriptions, or supporting information within the video player UI.
Usage
Tap to adjust playback speed
import React from 'react';
import { Subtitle } from 'react-native-video-toolkit';
export const SubtitleExample = () => {
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
Subtitlefor secondary information under aTitle, such as:- Episode numbers
- Season numbers/series titles
- Short descriptions or hints