Convert the rest of the samples to ExampleDocs

This commit is contained in:
Eric Allam
2022-05-04 21:06:22 +01:00
parent 401205b57f
commit 927cc26669
+9 -13
View File
@@ -10,23 +10,19 @@ export function SampleUrls() {
path="4.urls.regular"
/>
<ExampleUrl
url="https://gist.githubusercontent.com/ericallam/77e37e93e370b32387ce8d598dd06fc8/raw/9306a2c039fc27ab42bdadb80cbd6dbca49d27ec/tweet.json"
title="Tweet API Example"
displayTitle="Tweet JSON"
<ExampleDoc
id="d9udW60cLOok"
title="Tweet JSON"
path="data.0.entities.urls.0.expanded_url"
/>
<ExampleUrl
url="https://gist.githubusercontent.com/ericallam/f11f4981adf72b0427427c349afb3a09/raw/37eee4234b628f3278c9d4f644fee4a1c4987593/Airtable.json"
title="Airtable Product Catalog"
displayTitle="Airtable API"
<ExampleDoc
id="JZw4Wx9Mgj6r"
title="Airtable API"
path="records.3.createdTime"
/>
<ExampleUrl
url="https://gist.githubusercontent.com/ericallam/51b77c0051c21a34ea33d601bb0b1bef/raw/0b099f7d3bb5fe47f1fd55007d6a5fe9c5fd046b/GitHub.json"
title="List of Github Repos"
displayTitle="Github API"
/>
<ExampleDoc id="PjHo1o5MVeH4" title="Github API" />
</div>
);
}