mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
feat: add console banner (#186)
This commit is contained in:
@@ -3,9 +3,14 @@ import type { ReactNode } from 'react';
|
||||
|
||||
import { createMediaStore } from '@videojs/core/store';
|
||||
|
||||
import { printConsoleBanner } from '@videojs/utils';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
import { version } from '../../package.json';
|
||||
import { MediaContext } from './context';
|
||||
|
||||
printConsoleBanner(version);
|
||||
|
||||
export function VideoProvider({ children }: { children: ReactNode }): JSX.Element {
|
||||
const value = useMemo(() => createMediaStore(), []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user