-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Steps:
- Update Readme.md (and es) version
- Update code
- Check that code runs
- Go through readme ensure the sample can be build following readme steps.
Update A:
old version
import * as React from 'react';
- export const HelloComponent = () => {
+ export const HelloComponent = (props: {userName : string}) => {
return (
- <h2>Hello component !</h2>
+ <h2>Hello user: { props.userName } !</h2>
);
}proposal
import * as React from 'react';
- export const HelloComponent = () =>
+ export const HelloComponent = (props: {userName : string}) =>
- <h2>Hello component !</h2>
+ <h2>Hello user: { props.userName } !</h2>(same thing for the side note)
Metadata
Metadata
Assignees
Labels
No labels