mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Step 7 and styling updates
This commit is contained in:
@@ -72,7 +72,7 @@ myFunc(...arr);
|
||||
|
||||
Spreading an object into props for a React component:
|
||||
|
||||
```tsx
|
||||
```jsx
|
||||
const obj = { a: 1, b: 2, c: 3 };
|
||||
// equivalent to:
|
||||
// <MyComponent a={obj.a} b={obj.b} c={obj.c} />
|
||||
|
||||
Reference in New Issue
Block a user