Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- export default class NewComponent extends React.Component {
- render <p>{ this.props.title }</p>
- }
- NewComponent.propTypes = {
- name: React.PropTypes.string.isRequired
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement