= ({
style = {},
greyedOut = false,
}) => (
-
-
- {item.title}
-
-
- {item.info && {item.info}
}
-
+ //
+ //
+ // {item.title}
+ //
+ //
+ // {item.info && {item.info}
}
+ //
);
export default Item;
diff --git a/src/components/Item/testData.tsx b/src/components/Item/testData.tsx
new file mode 100644
index 0000000..0cd0bd5
--- /dev/null
+++ b/src/components/Item/testData.tsx
@@ -0,0 +1,23 @@
+import { Item } from "../../model";
+
+export const item: Item = {
+ flag: "default",
+ featured: false,
+ revisions: [
+ {
+ name: "yarn",
+ release: "2018-03-01",
+ title: "Yarn",
+ ring: "trial",
+ quadrant: "tools",
+ fileName: "C:\\projects\\techradar\\radar\\2018-03-01\\yarn.md",
+ body: "Yarn is a dependency management tool for frontend (node) projects similar to npm. It also uses the npm registry and \ninfrastructure. According to Yarn, the benefits are that Yarn is much faster, automatically writes a .lock file and \nbuilds up a local cache to be even faster when installing packages again.
\nAt AOE, we started using Yarn in different projects to evaluate if we can switch to Yarn for all projects.
\n",
+ },
+ ],
+ name: "yarn",
+ title: "Yarn",
+ ring: "trial",
+ quadrant: "tools",
+ body: "Yarn is a dependency management tool for frontend (node) projects similar to npm. It also uses the npm registry and \ninfrastructure. According to Yarn, the benefits are that Yarn is much faster, automatically writes a .lock file and \nbuilds up a local cache to be even faster when installing packages again.
\nAt AOE, we started using Yarn in different projects to evaluate if we can switch to Yarn for all projects.
\n",
+ info: "",
+};
diff --git a/src/components/ItemList/ItemList.tsx b/src/components/ItemList/ItemList.tsx
index 1c3b653..2e8e8e4 100644
--- a/src/components/ItemList/ItemList.tsx
+++ b/src/components/ItemList/ItemList.tsx
@@ -33,14 +33,14 @@ const ItemList: React.FC = ({
{featuredItems.map((item, i) => (
-
+ //
))}
{nonFeaturedItems.map((item, i) => (
- =3.0.0 <4.0.0"
@@ -10987,10 +11054,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
-typescript@^4.1.2:
- version "4.3.3"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.3.tgz#5401db69bd3203daf1851a1a74d199cb3112c11a"
- integrity sha512-rUvLW0WtF7PF2b9yenwWUi9Da9euvDRhmH7BLyBG4DCFfOJ850LGNknmRpp8Z8kXNUPObdZQEfKOiHtXuQHHKA==
+typescript@4.3.5:
+ version "4.3.5"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
+ integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==
unbox-primitive@^1.0.1:
version "1.0.1"
@@ -11254,10 +11321,10 @@ w3c-xmlserializer@^2.0.0:
dependencies:
xml-name-validator "^3.0.0"
-walk@^2.3.14:
- version "2.3.14"
- resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.14.tgz#60ec8631cfd23276ae1e7363ce11d626452e1ef3"
- integrity sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==
+walk@^2.3.15:
+ version "2.3.15"
+ resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.15.tgz#1b4611e959d656426bc521e2da5db3acecae2424"
+ integrity sha512-4eRTBZljBfIISK1Vnt69Gvr2w/wc3U6Vtrw7qiN5iqYJPH7LElcYh/iU4XWhdCy2dZqv1ToMyYlybDylfG/5Vg==
dependencies:
foreachasync "^3.0.0"