mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
docs(site): complete menu radio group references with demos and options hooks (#1807)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
82b9e43bb5
commit
a9a09a7e52
@@ -36,6 +36,13 @@ function resolveAutoLabel(t: Translator, label: string): string {
|
||||
return resolveTranslation(t, label);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create quality menu options (including an `Auto` option) from the player
|
||||
* video rendition state. Returns `null` when the quality feature is not
|
||||
* configured.
|
||||
*
|
||||
* @param props - Optional `label`, `formatRendition`, and `disabled` overrides.
|
||||
*/
|
||||
export function useQualityOptions(props?: QualityOptionsProps): QualityOptionsResult | null {
|
||||
'use no memo';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user