Files
suwayomi-material-you-webui/webUI/react/src/components/MangaDetails.tsx

18 lines
282 B
TypeScript
Raw Normal View History

2021-01-19 21:02:57 +03:30
import React from 'react';
2021-01-19 20:20:28 +03:30
interface IProps{
2021-01-19 21:02:57 +03:30
manga: IManga | undefined
2021-01-19 20:20:28 +03:30
}
export default function MangaDetails(props: IProps) {
2021-01-19 21:02:57 +03:30
const { manga } = props;
2021-01-19 20:20:28 +03:30
return (
<>
<h1>
{manga && manga.title}
</h1>
</>
);
}