import { PortableText } from '@portabletext/react'

import newsroomposts from '../pages/pages/newsroom'
import styles from './PostBody.module.css'

export default function NewsRoomBody({ newsroomposts }) {
  return (
    <div className={`mx-0 pb-10 font-light ${styles.portableText} `}>
      <PortableText value={newsroomposts} />
    </div>
  )
}
