added PageTop component, markdown styles, white background on logo svg, and documentation comments
This commit is contained in:
18
utils/newsCard.ts
Normal file
18
utils/newsCard.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Type for NewsCard component
|
||||
* @module utils/newsCard
|
||||
*/
|
||||
|
||||
import type { NewsEntry } from "./news";
|
||||
|
||||
/**
|
||||
* Interface that defines property for NewsCard component
|
||||
* @property {NewsEntry} newsEntry Data of news
|
||||
* @property {boolean} isNew Mark the entry new
|
||||
*/
|
||||
interface NewsCardProperty {
|
||||
newsEntry: NewsEntry;
|
||||
isNew: boolean;
|
||||
}
|
||||
|
||||
export type { NewsCardProperty };
|
||||
Reference in New Issue
Block a user