Skip to content
Snippets Groups Projects
Select Git revision
  • b53fa2b3b05741f88dacb35ccfd73651b6f9f191
  • main default protected
2 results

comments.test.js

Blame
  • patternTitle.js 234 B
    import React from 'react';
    import PropTypes from 'prop-types';
    
    export function Title(props) {
        return (
            <h1>
                {props.title}:
            </h1>
        )
    }
    Title.propTypes = {
        title: PropTypes.string.isRequired,
      };