Skip to content

Instantly share code, notes, and snippets.

@JulianSuringa
Created June 16, 2019 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulianSuringa/5b77c1ce23a0079c5421e32afe761f9f to your computer and use it in GitHub Desktop.
Save JulianSuringa/5b77c1ce23a0079c5421e32afe761f9f to your computer and use it in GitHub Desktop.
typescript stateless component
import React from 'react';
type PropType ={
title: string;
}
export default () => (
<div>{props.title}</div
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment