From cbfdf2ff4f01ab0b00b420a13d547bd532782b8a Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 28 Mar 2016 23:02:56 +0100 Subject: [PATCH] Document how to avoid wrapper in ReactTransitionGroup Thanks to @rayshan for some rewording tips too! --- docs/10.1-animation.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/docs/10.1-animation.md b/docs/10.1-animation.md index dcea2d9e..117b0e77 100644 --- a/docs/10.1-animation.md +++ b/docs/10.1-animation.md @@ -238,8 +238,6 @@ By default `ReactTransitionGroup` renders as a `span`. You can change this behav ``` -Every DOM component that React can render is available for use. However, `component` does not need to be a DOM component. It can be any React component you want; even ones you've written yourself! Just write `component={List}` and your component will receive `this.props.children`. - Any additional, user-defined, properties will become properties of the rendered component. For example, here's how you would render a `