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

import { RendererProps } from './RendererProps';

const Div = styled.div<RendererProps>`
    width: 64px;
    padding-top: ${({ value }) => value};
    background: #666;

    span {
        display: block;
        width: 100%;
        border-top-style: solid;
        border-color: white;
        border-width: 2px;
        height: 28px;
        background: #999;
    }
`;

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