---
title: "Discussion on \"Props in React\" | Hashnode"
description: "Discussion on \"Props in React\". In React, \"props\" (short for \"properties\") are a way for a parent component to pass data to a child component.\nFor eg-\n//component file\nimport React from 'react'\nimport PropTypes from 'prop-types'\n// shorthand for the above line-impt \n\nfunction Greet..."
url: "https://hashnode.com/posts/props-in-react/63ca9f13f61662ecafe00c06"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Props in React](https://disha.hashnode.dev/props-in-react?utm_source=hashnode&utm_medium=feed)

In React, "props" (short for "properties") are a way for a parent component to pass data to a child component. For eg- //component file import React from 'react' import PropTypes from 'prop-types' // shorthand for the above line-impt function Greet...

Jan 20, 2023 · 2 min read · disha.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#props-in-reactjs](https://hashnode.com/tag/props-in-reactjs)
-   [#passing-props-in-react](https://hashnode.com/tag/passing-props-in-react)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#prototypes-in-react](https://hashnode.com/tag/prototypes-in-react)

## Written by

[Disha Jain](https://hashnode.com/@disha390)

@disha390

  
[View profile](https://hashnode.com/@disha390)

Frontend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
