Skip to content

Commit a4df10f

Browse files
committed
Make list of applied class names more readable
1 parent cfa6a91 commit a4df10f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/CSSTransition.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ CSSTransition.propTypes = {
231231

232232
/**
233233
* The animation classNames applied to the component as it appears, enters,
234-
* exits or has finished the transition. A single name can be provided and it
235-
* will be suffixed for each stage: e.g.
234+
* exits or has finished the transition. A single name can be provided, which
235+
* will be suffixed for each stage, e.g. `classNames="fade"` applies:
236236
*
237-
* `classNames="fade"` applies `fade-appear`, `fade-appear-active`,
238-
* `fade-appear-done`, `fade-enter`, `fade-enter-active`, `fade-enter-done`,
239-
* `fade-exit`, `fade-exit-active`, and `fade-exit-done`.
237+
* - `fade-appear`, `fade-appear-active`, `fade-appear-done`
238+
* - `fade-enter`, `fade-enter-active`, `fade-enter-done`
239+
* - `fade-exit`, `fade-exit-active`, `fade-exit-done`
240240
*
241241
* **Note**: `fade-appear-done` and `fade-enter-done` will _both_ be applied.
242242
* This allows you to define different behavior for when appearing is done and

0 commit comments

Comments
 (0)