import React , { FunctionComponent } from "react" ; interface NoticeListItemProps { title : string ; } export const NoticeListItem = ( { title , children , } ) => ( < li > < h4 > { title } < /h4> < p > { children } < /p> < /li>); export const NoticeList = ( { children } ) => ( < ul className = "NoticeList" > { children } < /ul>);