Returning JSX or render function from a function in Nuxt 3

I would like to return some jsx from a function in nuxt 3 (with typescript), is this possible

const sayHello = () => {
  return <div>Hello</div>
}