Skip to content

Commit

Permalink
Merge pull request #3 in FFE/ffe-button-react from export-bugfix to m…
Browse files Browse the repository at this point in the history
…aster

* commit '0d71db98d61c18c71f78f633353f807fb301134e':
  FIX point package.json to index.js, remove isRequired from children prop
  • Loading branch information
wkillerud committed May 6, 2016
2 parents df95be0 + 2e91a07 commit b4a0c0c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ffe-button-react",
"version": "1.0.0",
"version": "1.0.1",
"description": "React implementation of ffe-button",
"main": "lib/FFEButton.js",
"main": "lib/index.js",
"scripts": {
"build": "babel -d lib/. --ignore=*.test.js src/.",
"lint": "eslint src/.",
Expand Down
2 changes: 1 addition & 1 deletion src/FFEActionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FFEActionButton(props) {
FFEActionButton.propTypes = {
action: PropTypes.string,
ariaLoadingMessage: PropTypes.string,
children: PropTypes.node.isRequired,
children: PropTypes.node,
id: PropTypes.string,
isLoading: PropTypes.bool,
label: PropTypes.string,
Expand Down
2 changes: 1 addition & 1 deletion src/FFEPrimaryButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FFEPrimaryButton(props) {
FFEPrimaryButton.propTypes = {
action: PropTypes.string,
ariaLoadingMessage: PropTypes.string,
children: PropTypes.node.isRequired,
children: PropTypes.node,
id: PropTypes.string,
isLoading: PropTypes.bool,
label: PropTypes.string,
Expand Down
2 changes: 1 addition & 1 deletion src/FFESecondaryButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FFESecondaryButton(props) {
FFESecondaryButton.propTypes = {
action: PropTypes.string,
ariaLoadingMessage: PropTypes.string,
children: PropTypes.node.isRequired,
children: PropTypes.node,
id: PropTypes.string,
isLoading: PropTypes.bool,
label: PropTypes.string,
Expand Down
2 changes: 1 addition & 1 deletion src/FFEShortcutButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FFEShortcutButton(props) {
FFEShortcutButton.propTypes = {
action: PropTypes.string,
ariaLoadingMessage: PropTypes.string,
children: PropTypes.node.isRequired,
children: PropTypes.node,
id: PropTypes.string,
isLoading: PropTypes.bool,
label: PropTypes.string,
Expand Down

0 comments on commit b4a0c0c

Please sign in to comment.