File "index.tsx"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/src/client/admin/components/placeholder/index.tsx
File size: 470 bytes
MIME-type: text/x-java
Charset: utf-8

import classNames from 'classnames';
import React from 'react';
import styles from './style.module.scss';

const Placeholder = ( {
	children = null,
	width = null,
	height = null,
	className = '',
}: {
	children?: React.ReactNode;
	width?: number | string;
	height?: number;
	className?: string;
} ) => {
	return (
		<div className={ classNames( styles.placeholder, className ) } style={ { width, height } }>
			{ children }
		</div>
	);
};

export default Placeholder;