Hello.tsx 229 Bytes
Newer Older
1 2 3 4 5 6 7
import * as React from 'react';

export interface Props {
    compilier: string;
    framework: string;
}

Zac Wood's avatar
Zac Wood committed
8 9 10 11 12
export const Hello = (props: Props) => (
    <h1>
        Hello from {props.compilier} and {props.framework}
    </h1>
);