@codecademy/gamut
73.5.073.5.1-alpha.e787e5.0
agent-tools/skills/gamut-datalist/SKILL.md~
agent-tools/skills/gamut-datalist/SKILL.mdModified+2−2
Index: package/agent-tools/skills/gamut-datalist/SKILL.md
===================================================================
--- package/agent-tools/skills/gamut-datalist/SKILL.md
+++ package/agent-tools/skills/gamut-datalist/SKILL.md
@@ -205,9 +205,9 @@
For server-side filtering or pagination, manage `query` and `onQueryChange` externally instead of using `useLocalQuery`.
## Empty state
-DataList shows a default empty state when `rows` is empty. Override with `emptyMessage`. The default and the example below both use `zIndex={1}` to sit above table rows without a token — see [`gamut-z-index`](../gamut-z-index/SKILL.md) before changing it.
+DataList shows a default empty state when `rows` is empty. Override with `emptyMessage`. The default and the example below both use `zIndex="foreground"` to sit above table rows — see [`gamut-z-index`](../gamut-z-index/SKILL.md) before changing it.
```tsx
<DataList
id="my-list"
@@ -220,9 +220,9 @@
as="tr"
height="inherit"
position="absolute"
width="inherit"
- zIndex={1}
+ zIndex="foreground"
>
<FlexBox
as="th"
center