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

import { RendererProps } from './RendererProps';

const Div = styled.div<RendererProps>`
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 20px;
    font-weight: 700;
    color: ${({ value }) => value};
    background: ${({ value }) => (value === 'white' ? 'black' : 'white')};
`;

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