Skip to content

Commit b98b4ca

Browse files
committed
translate children page
1 parent d863034 commit b98b4ca

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/content/reference/react/Children.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function SeparatorList({ children }) {
9898
9999
### `Children.map(children, fn, thisArg?)` {/*children-map*/}
100100
101-
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.
102102
103103
```js src/RowList.js active
104104
import { Children } from 'react';
@@ -116,11 +116,11 @@ function RowList({ children }) {
116116
}
117117
```
118118
119-
[See more examples below.](#transforming-children)
119+
[Aşağıda daha fazla örneğe bakınız.](#transforming-children)
120120
121121
#### Parameters {/*children-map-parameters*/}
122122
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.
124124
* `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.
125125
* **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`.
126126
@@ -149,9 +149,9 @@ function Box({ children }) {
149149
// ...
150150
```
151151
152-
#### Parameters {/*children-only-parameters*/}
152+
#### Parametreler {/*children-only-parameters*/}
153153
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.
155155
156156
#### Returns {/*children-only-returns*/}
157157
@@ -167,7 +167,7 @@ Otherwise, throws an error.
167167
168168
### `Children.toArray(children)` {/*children-toarray*/}
169169
170-
Call `Children.toArray(children)` to create an array out of the `children` data structure.
170+
Alt eleman veri yapısından bir dizi oluşturmak için `Children.toArray(çocuklar)` öğesini çağırın.
171171
172172
```js src/ReversedList.js active
173173
import { Children } from 'react';
@@ -178,15 +178,15 @@ export default function ReversedList({ children }) {
178178
// ...
179179
```
180180
181-
#### Parameters {/*children-toarray-parameters*/}
181+
#### Parametreler {/*children-toarray-parameters*/}
182182
183-
* `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.
184184
185185
#### Returns {/*children-toarray-returns*/}
186186
187-
Returns a flat array of elements in `children`.
187+
`children` içindeki elemanların düz bir dizisini döndürür.
188188
189-
#### Caveats {/*children-toarray-caveats*/}
189+
#### Uyarılar {/*children-toarray-caveats*/}
190190
191191
- 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.
192192

0 commit comments

Comments
 (0)