import { Markdown } from './Markdown.jsx'

export const Solution = ({ userId, content }) => {
    return (
        <div class="solution">
            <div class="solution-header">
                <div>@{userId}</div>
            </div>
            <div class="solution-content">
                <Markdown source={content} />
            </div>
        </div>
    )
}
