/** * @typedef {{ * image?: string, * course?: string, * title?: string, * author: string, * courseYear: string * }} AppuntiCardProps */ /** * * @param {AppuntiCardProps} param0 * @returns */ export const AppuntiCard = ({ course, title, author, courseYear }) => { return (
{title &&
{title}
} {course &&
{course}
}
@{author}
{courseYear}
) } export const AppuntiList = ({ children }) => { return
{children}
}