mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
13 lines
456 B
TypeScript
13 lines
456 B
TypeScript
import React, { FC } from 'react';
|
|
|
|
import { NodeVideoBlock } from '~/components/node/NodeVideoBlock';
|
|
import { Placeholder } from '~/components/placeholders/Placeholder';
|
|
import { NodeComponentProps } from '~/constants/node';
|
|
|
|
const LabVideo: FC<NodeComponentProps> = ({ node, isLoading }) => (
|
|
<Placeholder active={isLoading} width="100%" height={400}>
|
|
<NodeVideoBlock node={node} isLoading={isLoading} />
|
|
</Placeholder>
|
|
);
|
|
|
|
export { LabVideo };
|