---
title: Pass Props to a Stateless Functional Component
---
## Pass Props to a Stateless Functional Component
### Hint 1
Define a prop named date in the Calendar component as follows:
```jsx
````
### Hint 2
The syntax prop.propName is used to render a prop.
### Solution
Assign a prop named date in the Calendar component as follows and render it in the Calendar component, like:
```jsx
const CurrentDate = (props) => {
return (
The current date is: {props.date}
);
};
class Calendar extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
What date is it?
);
}
};
```