File tree Expand file tree Collapse file tree 3 files changed +3300
-3154
lines changed
Expand file tree Collapse file tree 3 files changed +3300
-3154
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export default function YourComponent() {
235235| Prop | Type | Required | Default Value | Description |
236236| -------- | :-------: | :------: | :-----------: | ---------------------------------------------- |
237237| data | Array | ❌ | undefined | Used for looping over the data and rendering the children |
238- | children | ReactNode | ❌ | null | Renders the ` JSX ` returned from child function |
238+ | children | ((item: T [ number ] , i: number) => JSX.Element) | null | ❌ | null | Renders the ` JSX ` returned from child function |
239239
240240### Working
241241
Original file line number Diff line number Diff line change 4242 "dependencies" : {
4343 "react" : " ^18.2.0"
4444 },
45+ "packageManager" : " pnpm@8.12.0" ,
4546 "devDependencies" : {
4647 "@changesets/cli" : " ^2.26.1" ,
4748 "@size-limit/preset-small-lib" : " ^8.2.4" ,
4849 "@testing-library/jest-dom" : " ^5.16.5" ,
4950 "@testing-library/react" : " ^14.0.0" ,
5051 "@types/node" : " ^18.15.13" ,
51- "@types/react" : " ^18.0.38 " ,
52- "@types/react-dom" : " ^18.0.11 " ,
52+ "@types/react" : " ^18.2.0 " ,
53+ "@types/react-dom" : " ^18.2.0 " ,
5354 "@types/testing-library__jest-dom" : " ^5.14.5" ,
5455 "@vitejs/plugin-react" : " ^4.0.0" ,
5556 "@vitest/coverage-istanbul" : " ^0.30.1" ,
You can’t perform that action at this time.
0 commit comments