1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-typescript/components
Resi Respati 8fdb133903 [with-typescript] Improved intial props examples, added example detail (#6165)
I've just thought of a way to improve the initial props page by adding
an example for a list/detail page structure. To do that, I've created a
separate `/detail` page, and a mock API which calls data from the array
we made on the previous PR.

A ListDetail component is created as an example for displaying detail.

Page structure is also cleaned up. Should I go ahead and add an example
on how to style with styled-jsx + its TS declarations? I might decide to
do it within this week anyway.
2019-01-31 17:36:02 +00:00
..
Layout.tsx [with-typescript] Improved intial props examples, added example detail (#6165) 2019-01-31 17:36:02 +00:00
List.tsx add new nextjs typings with samples (#6102) 2019-01-23 12:37:09 +01:00
ListDetail.tsx [with-typescript] Improved intial props examples, added example detail (#6165) 2019-01-31 17:36:02 +00:00
ListItem.tsx [with-typescript] Improved intial props examples, added example detail (#6165) 2019-01-31 17:36:02 +00:00