-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds support for the InputGroup component to receive a function as a child instead of a component. This lets the consumer handle the rendering completely, which in turn lets the consumer send in several children to the InputGroup. As a consequence of this, it's no longer possible to specify your own id-prop. Although this is breaking, it was an anti-pattern to begin with, and should not be heavily adopted.
- Loading branch information
Kristofer Selbekk
committed
Nov 2, 2017
1 parent
17d52f1
commit 84f6bf7
Showing
5 changed files
with
122 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
# Changelog for ffe-form-react | ||
|
||
## v.2.0.0 | ||
* BREAKING: `InputGroup` no longer supports sending in your own ID - it will now be generated | ||
and applied automatically when needed. | ||
* `InputGroup` now supports sending a function as a child, which lets you deal with sending in | ||
several children (i.e. text nodes). See the README.md for how to use this. | ||
* `InputGroup` will throw a descriptive error when used with several children instead of | ||
with just one. | ||
|
||
|
||
## v.1.0.0 | ||
* First release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters