File tree 1 file changed +4
-5
lines changed
exercises/04.slots/03.problem.prop
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ should have based on which slot they're taking.
9
9
10
10
In fact, we could do this with the ` Switch ` as well!
11
11
12
- 🧝♂️ I've added ` Text ` and ` Switch ` components to the
13
-
14
- <InlineFile file = " slots.tsx" /> file for you to use. These are both already wired
15
- up to consume a ` slot ` named ` text ` and ` switch ` . You can
16
- <DiffLink app1 = { - 1 } >check the diff</DiffLink > for details.
12
+ 🧝♂️ I've added ` Text ` and ` Switch ` components to
13
+ the <InlineFile file = " slots.tsx" /> file for you to use. These are both already
14
+ wired up to consume a ` slot ` named ` text ` and ` switch ` . You
15
+ can <DiffLink app1 = { - 1 } >check the diff</DiffLink > for details.
17
16
18
17
What we want to do in this exercise is add a ` slot ` prop to each of our slot
19
18
components so the slot they're taking can be defined by the parent component.
You can’t perform that action at this time.
0 commit comments