import React, { FC } from 'react';
import styled from 'styled-components';

import { RendererProps } from './RendererProps';

const Div = styled.div<RendererProps>`
    height: ${({ value }) => value};
    width: 40px;
    background-color: black;
`;

export const RendererHeight: FC<RendererProps> = ({ value }) => {
    return <Div value={value} />;
};
