mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-04-18 22:33:20 +02:00
14 lines
422 B
TypeScript
14 lines
422 B
TypeScript
import {ReactElement} from "react";
|
|
|
|
export default interface ILocalLibrary {
|
|
localLibraryId: string;
|
|
basePath: string;
|
|
libraryName: string;
|
|
}
|
|
|
|
export function LocalLibrary(library: ILocalLibrary) : ReactElement {
|
|
return (<div key={library.localLibraryId}>
|
|
<p className={"LocalLibrary-Name"}>{library.libraryName}</p>
|
|
<p className={"LocalLibrary-Path"}>{library.basePath}</p>
|
|
</div>);
|
|
} |