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

import { RendererProps } from './RendererProps';

const Div = styled.div<RendererProps>`
    text-decoration: ${({ value }) => value};
    font-size: 20px;
    font-weight: 600;

    p:first-child {
        font-weight: 700;
    }

    p:last-child {
        font-weight: 400;
    }
`;

export const RendererTextDecoration: FC<RendererProps> = ({ value }) => {
    return (
        <Div value={value}>
            <p>Lorem ipsum dolor sit amet</p>
        </Div>
    );
};
