From 8043b112eb2bee5f6ad4eb0ff0217ba2850754a9 Mon Sep 17 00:00:00 2001 From: Sanskar Tiwari Date: Sat, 19 Mar 2022 22:05:30 +0530 Subject: [PATCH] Added hindi translation for Passing props to a component --- beta/src/pages/learn/describing-the-ui.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beta/src/pages/learn/describing-the-ui.md b/beta/src/pages/learn/describing-the-ui.md index 442e1407a..39d1aacd3 100644 --- a/beta/src/pages/learn/describing-the-ui.md +++ b/beta/src/pages/learn/describing-the-ui.md @@ -233,9 +233,9 @@ Read **[JavaScript in JSX with Curly Braces](/learn/javascript-in-jsx-with-curly -## Passing props to a component {/*passing-props-to-a-component*/} +## कम्पोनन्ट में props पास करना {/*passing-props-to-a-component*/} -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! +React कंपोनेन्टस एक दूसरे से संवाद करने के लिए *props* का इस्तेमाल करते हैं। प्रत्येक पेरन्ट कम्पोनन्ट अपने चाइल्ड कम्पोनन्ट को props देकर कुछ जानकारी दे सकता है। Props आपको HTML अत्तरीबूटेस की याद दिला सकते हैं, पर आप उन्मे JavaScript की वैल्यू भी डाल सकते हैं, जिसमें ऑब्जेक्ट, एरेज़, फ़ंक्शन और यहां तक ​​​​कि JSX भी शामिल है! @@ -310,7 +310,7 @@ export function getImageUrl(person, size = 's') { -Read **[Passing Props to a Component](/learn/passing-props-to-a-component)** to learn how to pass and read props. +props पास और रीड करने का तरीका जानने के लिए **[Passing Props to a Component](/learn/passing-props-to-a-component)** पढ़ें।