Module: core/article
Functions
useArticleBySlug
▸ useArticleBySlug(slug): SWRResponse<{ body: string ; title: string }, any>
Parameters
| Name | Type |
|---|---|
slug | string |
Returns
SWRResponse<{ body: string ; title: string }, any>
useArticles
▸ useArticles(): SWRResponse<{ body: string ; title: string }[], any>
Returns
SWRResponse<{ body: string ; title: string }[], any>