From 0a3a82679ef4ec347bcdf347d87f0bc2d481746f Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 7 Dec 2017 19:49:42 +0000 Subject: [PATCH] =?UTF-8?q?Mention=20=E2=80=9Cslots=E2=80=9D=20(#404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/docs/composition-vs-inheritance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/composition-vs-inheritance.md b/content/docs/composition-vs-inheritance.md index 25d1254e..f65e321f 100644 --- a/content/docs/composition-vs-inheritance.md +++ b/content/docs/composition-vs-inheritance.md @@ -79,7 +79,7 @@ function App() { [Try it on CodePen.](https://codepen.io/gaearon/pen/gwZOJp?editors=0010) -React elements like `` and `` are just objects, so you can pass them as props like any other data. +React elements like `` and `` are just objects, so you can pass them as props like any other data. This approach may remind you of "slots" in other libraries but there are no limitations on what you can pass as props in React. ## Specialization