import React from 'react';

export default class StarterComponent extends React.Component {
    displayName = 'StarterComponent';

    constructor() {
        super();
    }

    render() {
        return <div>{'StarterComponent'}</div>;
    }
}

import React from 'react';

export default class StarterComponent extends React.Component {
    displayName = 'StarterComponent';

    constructor(props) {
        super(props);
    }

    render() {
        return <div>{'StarterComponent'}</div>;
    }
}

Add props to component constructor
Add props to component constructor
