React - Use Default Props

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

const Items = (props) => {
  return <h1>Current Quantity of: {props.quantity}</h1>

ShoppingCart.defaultProps = {
  { items: 0 }

class ShoppingCart extends React.Component {
  constructor(props) {
  render() {
    { /* Change code below this line */ }
    return <Items />
    { /* Change code above this line */ }

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

React - Use Default Props

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

That is not how the starting code looks. Where did you get the code from?

const ShoppingCart = (props) => {
  return (
      <h1>Shopping Cart Component</h1>
// Change code below this line

You have to put your code after the ShoppingCart component.

Please follow the instructions in your thread. You are not likely to get help if you do not ask questions and explain what you need help with.