React Props

In simple terms, you can use the props to pass variables to child components

So first, you define the child element which is able to accept the prop values

Now, Task child element can accept the prop named title

In your parent component

You are rendering the Task element by passing the value for the prop title