From a05d52a7b13607181ce0443b17769bb02532dfc1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 23 Aug 2021 21:33:42 +0200 Subject: importing rtf --- src/views/Detail.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/views/Detail.js (limited to 'src/views/Detail.js') diff --git a/src/views/Detail.js b/src/views/Detail.js new file mode 100644 index 0000000..51598c1 --- /dev/null +++ b/src/views/Detail.js @@ -0,0 +1,31 @@ +/** + * Detail view, displaying text plus media + */ + +export default function Detail({ node }) { + const index = id + 1; + const { id, data } = node; + return ( +
+
+
+ {index} +
+ {data.author} +
+ {data.title} +
+
+
+
+
+
+
+ ); +} -- cgit v1.2.3-70-g09d2