Skip to main content

Module: core/article

Functions

useArticleBySlug

useArticleBySlug(slug): SWRResponse<{ body: string ; title: string }, any>

Parameters

NameType
slugstring

Returns

SWRResponse<{ body: string ; title: string }, any>


useArticles

useArticles(): SWRResponse<{ body: string ; title: string }[], any>

Returns

SWRResponse<{ body: string ; title: string }[], any>