10/3/24
This commit is contained in:
20
utils/linkCard.ts
Normal file
20
utils/linkCard.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Type for LinkCard component
|
||||
* @module utils/linkCard
|
||||
*/
|
||||
|
||||
/**
|
||||
* Interface that defines property for LinkCard component
|
||||
* @property {string} title title of link
|
||||
* @property {string} description description of link
|
||||
* @property {string} link link itself
|
||||
* @property {string=} imagePath optional path to image to display with
|
||||
*/
|
||||
interface LinkCardProperty {
|
||||
title: string;
|
||||
description: string;
|
||||
link: string;
|
||||
imagePath?: string;
|
||||
}
|
||||
|
||||
export type { LinkCardProperty };
|
||||
Reference in New Issue
Block a user