mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(site): rename website to site
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { FullscreenButton } from '@videojs/react';
|
||||
import { FullscreenEnterIcon, FullscreenExitIcon } from '@videojs/react/icons';
|
||||
import styles from './FullscreenButton.module.css';
|
||||
|
||||
/**
|
||||
* Basic FullscreenButton example demonstrating:
|
||||
* - Icon switching based on fullscreen state
|
||||
* - Data attribute state selectors
|
||||
* - Enter/exit fullscreen functionality
|
||||
*
|
||||
* Note: This component must be used within a MediaProvider context.
|
||||
* See the usage example in the documentation.
|
||||
*/
|
||||
export function BasicFullscreenButton() {
|
||||
return (
|
||||
<FullscreenButton className={styles.button}>
|
||||
<FullscreenEnterIcon className={styles.fullscreenEnterIcon} />
|
||||
<FullscreenExitIcon className={styles.fullscreenExitIcon} />
|
||||
</FullscreenButton>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user