mirror of https://github.com/Radarr/Radarr
23 lines
507 B
TypeScript
23 lines
507 B
TypeScript
|
import classNames from 'classnames';
|
||
|
import React from 'react';
|
||
|
import styles from './InteractiveImportRowCellPlaceholder.css';
|
||
|
|
||
|
interface InteractiveImportRowCellPlaceholderProps {
|
||
|
isOptional?: boolean;
|
||
|
}
|
||
|
|
||
|
function InteractiveImportRowCellPlaceholder(
|
||
|
props: InteractiveImportRowCellPlaceholderProps
|
||
|
) {
|
||
|
return (
|
||
|
<span
|
||
|
className={classNames(
|
||
|
styles.placeholder,
|
||
|
props.isOptional && styles.optional
|
||
|
)}
|
||
|
/>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default InteractiveImportRowCellPlaceholder;
|