Skip to content
Snippets Groups Projects
Select Git revision
  • 95c00402ce1d91160371135b1e606a444fcd16d2
  • master default protected
2 results

patternTitle.js

Blame
  • Forked from SOFT Core / SOFT 260 / React Redux Starter Code
    Source project has a limited visibility.
    patternTitle.js 214 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,
    };