Skip to content

Commit 6a06c06

Browse files
committed
improve
1 parent 4eb24d9 commit 6a06c06

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

exercises/04.slots/03.problem.prop/README.mdx

+4-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ should have based on which slot they're taking.
99

1010
In fact, we could do this with the `Switch` as well!
1111

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.
1716

1817
What we want to do in this exercise is add a `slot` prop to each of our slot
1918
components so the slot they're taking can be defined by the parent component.

0 commit comments

Comments
 (0)