You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <spanclass="prop-name">itemCount</span> | <spanclass="prop-type">number</span> | <spanclass="prop-default">3</span> | Number of items to render. |
14
-
| <spanclass="prop-name">renderItem</span> | <spanclass="prop-type">template</span> || List item template to render. |
15
-
| <spanclass="prop-name">disablePadding</span> | <spanclass="prop-type">boolean</span> || If true, vertical padding is removed from the list. |
16
-
| <spanclass="prop-name">sx</span> | <spanclass="prop-type">object</span> || The [`sx` prop](https://mui.com/system/getting-started/the-sx-prop/) is used for defining custom styles that have access to the theme. All MUI System properties are available via the `sx` prop. In addition, the `sx` prop allows you to specify any other CSS rules you may need. |
| <spanclass="prop-name">itemCount</span> | <spanclass="prop-type">number</span> | <spanclass="prop-default">3</span> | Number of items to render. |
14
+
| <spanclass="prop-name">renderItem</span> | <spanclass="prop-type">template</span> || List item template to render. |
15
+
| <spanclass="prop-name">disablePadding</span> | <spanclass="prop-type">boolean</span> || If true, vertical padding is removed from the list. |
16
+
| <spanclass="prop-name">loading</span> | <spanclass="prop-type">boolean</span> | <spanclass="prop-default">false</span> | Displays a loading animation indicating the list is still loading |
17
+
| <spanclass="prop-name">sx</span> | <spanclass="prop-type">object</span> || The [`sx` prop](https://mui.com/system/getting-started/the-sx-prop/) is used for defining custom styles that have access to the theme. All MUI System properties are available via the `sx` prop. In addition, the `sx` prop allows you to specify any other CSS rules you may need. |
<pclass="description">Toolpad application that demonstrates writing an alternative (simplified) [Hacker News](https://news.ycombinator.com/news) client.</p>
4
+
5
+
## How to run
6
+
7
+
Use `create-toolpad-app` to bootstrap the example:
[](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/hacker-news-client)
24
+
25
+
## What's inside
26
+
27
+
A Toolpad app that shows how to:
28
+
29
+
- chain REST API calls
30
+
- use the List component
31
+
32
+
## The source
33
+
34
+
[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/hacker-news-client)
0 commit comments