Comment Comment by cwmoo740 interface IMyComponentProps { x: number; }function MyComponent(props: IMyComponentProps): JSX.Element { return <p>{props.x}</p>; } parent cwmoo740 10 years ago
function MyComponent(props: IMyComponentProps): JSX.Element { return <p>{props.x}</p>; }