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
Call `Children.map(children, fn, thisArg?)`to map or transform each child in the `children` data structure.
101
+
Alt eleman veri yapısındaki her alt elemani eşlemek veya dönüştürmek için `Children.map(children, fn, thisArg?)`öğesini çağırın.
102
102
103
103
```js src/RowList.js active
104
104
import { Children } from'react';
@@ -116,11 +116,11 @@ function RowList({ children }) {
116
116
}
117
117
```
118
118
119
-
[See more examples below.](#transforming-children)
119
+
[Aşağıda daha fazla örneğe bakınız.](#transforming-children)
120
120
121
121
#### Parameters {/*children-map-parameters*/}
122
122
123
-
* `children`: The value of the [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) received by your component.
123
+
* `children`: Bileşeniniz tarafından alınan [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) değeri.
124
124
* `fn`: The mapping function, similar to the [array `map` method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) callback. It will be called with the child as the first argument and its index as the second argument. The index starts at `0` and increments on each call. You need to return a React node from this function. This may be an empty node (`null`, `undefined`, or a Boolean), a string, a number, a React element, or an array of other React nodes.
125
125
* **optional** `thisArg`: The [`this` value](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this) with which the `fn` function should be called. If omitted, it's `undefined`.
126
126
@@ -149,9 +149,9 @@ function Box({ children }) {
149
149
// ...
150
150
```
151
151
152
-
#### Parameters {/*children-only-parameters*/}
152
+
#### Parametreler {/*children-only-parameters*/}
153
153
154
-
* `children`: The value of the [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) received by your component.
154
+
* `children`: Bileşeniniz tarafından alınan [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) değeri.
* `children`: The value of the [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) received by your component.
183
+
* `children`: Bileşeniniz tarafından alınan [`children` prop](/learn/passing-props-to-a-component#passing-jsx-as-children) değeri.
184
184
185
185
#### Returns {/*children-toarray-returns*/}
186
186
187
-
Returns a flat array of elements in `children`.
187
+
`children` içindeki elemanların düz bir dizisini döndürür.
188
188
189
-
#### Caveats {/*children-toarray-caveats*/}
189
+
#### Uyarılar {/*children-toarray-caveats*/}
190
190
191
191
- Empty nodes (`null`, `undefined`, and Booleans) will be omitted in the returned array. **The returned elements' keys will be calculated from the original elements' keys and their level of nesting and position.** This ensures that flattening the array does not introduce changes in behavior.
0 commit comments