Hacker News new | ask | show | jobs
by cwmoo740 3565 days ago
interface IMyComponentProps { x: number; }

function MyComponent(props: IMyComponentProps): JSX.Element { return <p>{props.x}</p>; }