import React from "react" ; type Props = { children ? : any ; } ; export default ( { children } ) : JSX . Element => { return ( < div role = "alert" className = "note" > < div className = "note-body" > { children } < /div> < /div>); } ;