mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
creating youtube node
This commit is contained in:
parent
8612cc5ce7
commit
f7c2f0e90f
6 changed files with 22 additions and 6 deletions
|
@ -3,6 +3,7 @@ import { INode } from '~/redux/types';
|
|||
import * as styles from './styles.scss';
|
||||
import path from 'ramda/es/path';
|
||||
import { InputText } from '~/components/input/InputText';
|
||||
import classnames from 'classnames';
|
||||
|
||||
interface IProps {
|
||||
data: INode;
|
||||
|
@ -29,7 +30,7 @@ const VideoEditor: FC<IProps> = ({ data, setData }) => {
|
|||
return (
|
||||
<div className={styles.preview} style={{ backgroundImage: preview && `url("${preview}")` }}>
|
||||
<div className={styles.input_wrap}>
|
||||
<div className={styles.input}>
|
||||
<div className={classnames(styles.input, { active: !!preview })}>
|
||||
<InputText value={url} handler={setUrl} placeholder="Адрес видео" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue