Created
June 16, 2019 11:32
-
-
Save JulianSuringa/5b77c1ce23a0079c5421e32afe761f9f to your computer and use it in GitHub Desktop.
typescript stateless component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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