Skip to content

Commit 01c55a4

Browse files
committed
translate children page
1 parent 4a8304b commit 01c55a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/content/reference/react/Children.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@ export default function TabSwitcher({ tabIds, getHeader, renderContent }) {
844844

845845
</Sandpack>
846846

847-
A prop like `renderContent` is called a *render prop* because it is a prop that specifies how to render a piece of the user interface. However, there is nothing special about it: it is a regular prop which happens to be a function.
847+
`renderContent` gibi bir prop’a *render prop* denir çünkü kullanıcı arayüzünün bir parçasının nasıl render edileceğini belirten bir prop’tur. Ancak bunda özel bir durum yoktur: sadece fonksiyon olan normal bir prop’tur.
848848

849-
Render props are functions, so you can pass information to them. For example, this `RowList` component passes the `id` and the `index` of each row to the `renderRow` render prop, which uses `index` to highlight even rows:
849+
Render prop’lar fonksiyon olduğu için onlara bilgi de geçebilirsiniz. Örneğin, bu `RowList` bileşeni her row’un `id` ve `index` değerini `renderRow` render prop’una geçirir ve `renderRow` bu `index` değerini kullanarak çift satırları highlight eder:
850850

851851
<Sandpack>
852852

@@ -927,15 +927,15 @@ export function Row({ children, isHighlighted }) {
927927

928928
</Sandpack>
929929

930-
This is another example of how parent and child components can cooperate without manipulating the children.
930+
Bu, parent ve child bileşenlerin children’ları manipulate etmeden birlikte nasıl çalışabileceğine dair başka bir örnektir.
931931

932932
---
933933

934-
## Troubleshooting {/*troubleshooting*/}
934+
## Sorun giderme {/*troubleshooting*/}
935935

936-
### I pass a custom component, but the `Children` methods don't show its render result {/*i-pass-a-custom-component-but-the-children-methods-dont-show-its-render-result*/}
936+
### Özel bir bileşen geçiriyorum ama `Children` metodları onun render sonucunu göstermiyor {/*i-pass-a-custom-component-but-the-children-methods-dont-show-its-render-result*/}
937937

938-
Suppose you pass two children to `RowList` like this:
938+
Diyelim ki `RowList` bileşenine şu şekilde iki child geçiriyorsunuz:
939939

940940
```js
941941
<RowList>

0 commit comments

Comments
 (0)