Download react-page/packages/plugins/content/video/src/default/settings.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-page/packages/plugins/content/video/src/default/settings.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-page/packages/plugins/content/video/src/default/settings.tsx
-
curl -L -o settings.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-page/packages/plugins/content/video/src/default/settings.tsx
618 Bytes
| import React from 'react'; | |
| import type { VideoSettings } from '../types/settings'; | |
| import { lazyLoad } from '@react-page/editor'; | |
| const PlayArrow = lazyLoad(() => import('@mui/icons-material/PlayArrow')); | |
| export const defaultTranslations = { | |
| pluginName: 'Video', | |
| pluginDescription: 'Include videos from Vimeo or YouTube', | |
| label: 'Video location (YouTube / Vimeo)', | |
| placeholder: 'https://www.youtube.com/watch?v=ER97mPHhgtM', | |
| }; | |
| export const defaultSettings: VideoSettings = { | |
| Renderer: () => <>Renderer; for this plugin was not provided </>, | |
| translations: defaultTranslations, | |
| icon: <PlayArrow />, | |
| }; | |