There are several different ways to specify props in JSX.
JavaScript Expressions
You can pass any JavaScript expression as a prop, by surrounding it with {}. For example, in this JSX:
<MyComponent count={1 + 2 + 3 + 4} />
Inside the MyComponent, the value of props.count will be 10, becau...