We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db7b5f commit e07c5e3Copy full SHA for e07c5e3
packages/keyed/README.md
@@ -202,11 +202,7 @@ import { SetValues } from "@solid-primitives/keyed";
202
const [set, setSet] = createSignal(new Set());
203
204
<SetValues of={set()} fallback={<div>No items</div>}>
205
- {(value) => (
206
- <div>
207
- {value}
208
- </div>
209
- )}
+ {value => <div>{value}</div>}
210
</SetValues>;
211
```
212
@@ -218,11 +214,7 @@ Second argument of the map function is an index signal.
218
214
219
215
```tsx
220
216
221
- {(value, index) => (
222
- <div data-index={index()}>
223
224
225
217
+ {(value, index) => <div data-index={index()}>{value}</div>}
226
</SetValues>
227
228
0 commit comments