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

import { RendererProps } from './RendererProps';

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

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