Added Example Component and testing framework

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-31 11:14:25 +02:00
parent 31692dfbd4
commit f5cdda822c
8 changed files with 94 additions and 30 deletions

View File

20
components/HelloWorld.tsx Normal file
View File

@ -0,0 +1,20 @@
import React from 'react'
interface Props {
children: React.ReactNode
}
export default class HelloWorld extends React.Component<Props> {
public render() {
return (
<>
<h1>{this.props.children}</h1>
<style jsx>{`
h1
font-weight 700
`}</style>
</>
)
}
}