From 57ec6d4b6886eac4ace74a63206a24b9e0c2f1cc Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 29 Nov 2018 12:12:24 +0200 Subject: [PATCH] Simplify MappedList and rename to DataList --- snippets/DataList.md | 26 ++++++++++++++++++++++++++ snippets/MappedList.md | 31 ------------------------------- 2 files changed, 26 insertions(+), 31 deletions(-) create mode 100644 snippets/DataList.md delete mode 100644 snippets/MappedList.md diff --git a/snippets/DataList.md b/snippets/DataList.md new file mode 100644 index 000000000..99ee8980b --- /dev/null +++ b/snippets/DataList.md @@ -0,0 +1,26 @@ +### DataList + +Renders a list of elements from an array of primitives. + +Use the value of the `isOrdered` prop to conditionally render a `
    ` or `