mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixes
This commit is contained in:
parent
ef71e55543
commit
1b001db91a
6 changed files with 34 additions and 8 deletions
|
@ -1,19 +1,22 @@
|
|||
import React, { FC } from 'react';
|
||||
import * as styles from './styles.scss';
|
||||
import classNames = require("classnames");
|
||||
|
||||
interface IProps {
|
||||
height?: number;
|
||||
width?: number;
|
||||
title?: string;
|
||||
is_hero?: boolean;
|
||||
}
|
||||
|
||||
const Cell: FC<IProps> = ({
|
||||
width = 1,
|
||||
height = 1,
|
||||
title,
|
||||
is_hero,
|
||||
}) => (
|
||||
<div
|
||||
className={styles.cell}
|
||||
className={classNames(styles.cell, { is_hero })}
|
||||
style={{
|
||||
gridRowEnd: `span ${height}`,
|
||||
gridColumnEnd: `span ${width}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue