Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
Merge pull request #370 from freefony/patch-1
Browse files Browse the repository at this point in the history
Update ReactComponents.md
  • Loading branch information
insin authored Aug 22, 2017
2 parents 61695c4 + a97aeec commit 24eb78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/ReactComponents.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ nwb supports development of React component/library modules which will be publis
- [`--no-demo`](#--no-demo)
- [`--[keep-]proptypes`](#--keep-proptypes)
To walk you though the process, we're going to implement a simple `LoadingButton` component, which renders a `<button>` and implements the following requirements:
To walk you through the process, we're going to implement a simple `LoadingButton` component, which renders a `<button>` and implements the following requirements:
1. The button should take a `loading` prop, representing whichever action it controls being in progress (e.g. loading some data or submitting a form).
2. The button should be `disabled` when loading, to avoid the double-submission problem.
Expand Down

0 comments on commit 24eb78a

Please sign in to comment.