1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00
vault-frontend/src/components/flow/TestGrid/index.tsx
2019-07-26 14:23:19 +07:00

37 lines
784 B
TypeScript

import * as React from 'react';
import { Cell } from "~/components/flow/Cell";
import { range } from 'ramda';
import * as styles from './styles.scss';
export const TestGrid = () => (
<div className={styles.grid_test}>
<div style={{
gridRow: '1 / 2',
gridColumn: '1 / -1',
background: 'green',
}}
>
HERO
</div>
<div style={{
gridRow: '2 / 4',
gridColumn: '-2 / -1',
background: 'blue',
}}
>
STAMP
</div>
{
range(1,20).map(el => (
<Cell
width={Math.floor(Math.random() * 3)}
height={Math.floor(Math.random() * 3)}
title="Example cell Example cell Example cell Example cell Example cell Example cell Example cell "
/>
))
}
</div>
);