import React from 'react'

const MyOtherComponent = ({title, children}) => {
    return (
        <>
            <div style={{marginTop: '10px'}}>
                <div style={{fontWeight: 'bold', backgroundColor: '#f0f0f0', border: '1px solid #ccc'}}>{title}</div>
                <div>{children}</div>
            </div>
        </>
    )
}

export default MyOtherComponent