Skip to content

Commit 1437e67

Browse files
authored
Merge pull request reactjs#258 from newyork-anthonyng/feature/an/update-readme
Update documentation
2 parents df4f6e4 + e936fc3 commit 1437e67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Transition.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const EXITING = 'exiting';
4343
* ...defaultStyle,
4444
* ...transitionStyles[state]
4545
* }}>
46-
* I'm A fade Transition!
46+
* I'm a fade Transition!
4747
* </div>
4848
* )}
4949
* </Transition>
@@ -83,7 +83,7 @@ export const EXITING = 'exiting';
8383
* ```
8484
*
8585
* When the button is clicked the component will shift to the `'entering'` state and
86-
* stay there for 500ms (the value of `timeout`) when finally switches to `'entered'`.
86+
* stay there for 500ms (the value of `timeout`) before it finally switches to `'entered'`.
8787
*
8888
* When `in` is `false` the same thing happens except the state moves from `'exiting'` to `'exited'`.
8989
*
@@ -348,7 +348,7 @@ Transition.propTypes = {
348348
/**
349349
* A `function` child can be used instead of a React element.
350350
* This function is called with the current transition status
351-
* ('entering', 'entered', 'exiting', 'exited', 'unmounted'), which can used
351+
* ('entering', 'entered', 'exiting', 'exited', 'unmounted'), which can be used
352352
* to apply context specific props to a component.
353353
*
354354
* ```jsx

src/TransitionGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const defaultProps = {
6969
* As items are removed or added to the TodoList the `in` prop is toggled
7070
* automatically by the `<TransitionGroup>`. You can use _any_ `<Transition>`
7171
* component in a `<TransitionGroup>`, not just css.
72-
* *
72+
*
7373
* <iframe src="https://codesandbox.io/embed/43v5wj62q9?autoresize=1&fontsize=12&hidenavigation=1&moduleview=1" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>
7474
*
7575
* Note that `<TransitionGroup>` does not define any animation behavior!

0 commit comments

Comments
 (0)