Skip to content

Commit db9bc3a

Browse files
authored
Translate Passing props to a component page (#301)
1 parent da7f4f7 commit db9bc3a

File tree

5 files changed

+1119
-1119
lines changed

5 files changed

+1119
-1119
lines changed

beta/src/pages/learn/adding-interactivity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Read **[Responding to Events](/learn/responding-to-events)** to learn how to add
7272

7373
</LearnMore>
7474

75-
## State: a component's memory {/*state-a-components-memory*/}
75+
## Stan: Pamięć komponentu {/*state-a-components-memory*/}
7676

7777
Components often need to change what's on the screen as a result of an interaction. Typing into the form should update the input field, clicking "next" on an image carousel should change which image is displayed, clicking "buy" puts a product in the shopping cart. Components need to "remember" things: the current input value, the current image, the shopping cart. In React, this kind of component-specific memory is called state.
7878

@@ -224,7 +224,7 @@ button {
224224

225225
<LearnMore path="/learn/state-a-components-memory">
226226

227-
Read **[State: A Component's Memory](/learn/state-a-components-memory)** to learn how to remember a value and update it on interaction.
227+
Read **[Stan: Pamięć komponentu](/learn/state-a-components-memory)** to learn how to remember a value and update it on interaction.
228228

229229
</LearnMore>
230230

beta/src/pages/learn/describing-the-ui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Read **[JavaScript in JSX with Curly Braces](/learn/javascript-in-jsx-with-curly
237237
238238
</LearnMore>
239239
240-
## Passing props to a component {/_passing-props-to-a-component_/}
240+
## Przekazywanie wartości do komponentu {/_passing-props-to-a-component_/}
241241
242242
React components use _props_ to communicate with each other. Every parent component can pass some information to its child components by giving them props. Props might remind you of HTML attributes, but you can pass any JavaScript value through them, including objects, arrays, functions, and even JSX!
243243
@@ -304,7 +304,7 @@ export function getImageUrl(person, size = 's') {
304304
305305
<LearnMore path="/learn/passing-props-to-a-component">
306306
307-
Read **[Passing Props to a Component](/learn/passing-props-to-a-component)** to learn how to pass and read props.
307+
Read **[Przekazywanie wartości do komponentu](/learn/passing-props-to-a-component)** to learn how to pass and read props.
308308
309309
</LearnMore>
310310

0 commit comments

Comments
 (0)