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

22 lines
489 B
TypeScript
Raw Normal View History

2021-01-26 23:32:12 +03:30
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
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>
</>
);
}