1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 13:26:40 +07:00

eslint fix

This commit is contained in:
muerwre 2019-08-09 12:23:07 +07:00
parent dfaac877fb
commit fa4d51360b
81 changed files with 741 additions and 972 deletions

View file

@ -1,6 +1,7 @@
import React, { FC } from 'react';
import * as styles from './styles.scss';
import classNames = require("classnames");
import classNames = require('classnames');
interface IProps {
height?: number;
@ -16,15 +17,15 @@ const Cell: FC<IProps> = ({
title,
is_hero,
}) => (
<div
className={classNames(styles.cell, { is_hero })}
style={{
gridRowEnd: `span ${height}`,
gridColumnEnd: `span ${width}`,
}}
>
{ title && <div className={styles.title}>{title}</div> }
</div>
<div
className={classNames(styles.cell, { is_hero })}
style={{
gridRowEnd: `span ${height}`,
gridColumnEnd: `span ${width}`,
}}
>
{ title && <div className={styles.title}>{title}</div> }
</div>
);
export { Cell };