Skip to content

Commit b67bf6d

Browse files
committed
translate createElement page
1 parent 71d0a2c commit b67bf6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/reference/react/createElement.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ function Greeting({ name }) {
4848

4949
`createElement`, birkaç özelliğe sahip bir React element nesnesi döndürür:
5050

51-
* `type`: The `type` you have passed.
52-
* `props`: The `props` you have passed except for `ref` and `key`.
53-
* `ref`: The `ref` you have passed. If missing, `null`.
54-
* `key`: The `key` you have passed, coerced to a string. If missing, `null`.
51+
* `type`: Geçtiğiniz `tip`.
52+
* `props`: `ref` ve `key` dışında geçirdiğiniz `props`.
53+
* `ref`: Geçtiğiniz `ref`. Eksikse, `null`.
54+
* `key`: İlettiğiniz `anahtar` bir string'e zorlanır. Eksikse, `null`.
5555

5656
Usually, you'll return the element from your component or make it a child of another element. Although you may read the element's properties, it's best to treat every element as opaque after it's created, and only render it.
5757

0 commit comments

Comments
 (0)