Skip to content

Commit ce5a25d

Browse files
committed
translate createRef page
1 parent 7f5a3c3 commit ce5a25d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react/createRef.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default class Form extends Component {
136136
<>
137137
<input ref={this.inputRef} />
138138
<button onClick={this.handleClick}>
139-
Focus the input
139+
Input'a odaklan
140140
</button>
141141
</>
142142
);
@@ -146,7 +146,7 @@ export default class Form extends Component {
146146
147147
</Sandpack>
148148
149-
When you [convert this component from a class to a function,](/reference/react/Component#alternatives) replace calls to `createRef` with calls to [`useRef`:](/reference/react/useRef)
149+
[Bu bileşeni bir sınıftan bir fonksiyona dönüştürdüğünüzde,](/reference/react/Component#alternatives) `createRef` çağrılarını [`useRef`:](/reference/react/useRef) çağrılarıyla değiştirin
150150
151151
<Sandpack>
152152

0 commit comments

Comments
 (0)