useContentfunction
import { useContent } from '@mortar-kit/core'
function useContent(): ContentReaderThe content reader for the current component, from ContentContext.
Call it in a component body; read with it in a memo (under <Loading>).
Throws if no source is provided.