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

import { RendererProps } from './RendererProps';

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

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