Skip to content

Commit

Permalink
FFE-31 Fixed typo in prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Torgeir Pedersen Cook committed Nov 15, 2016
1 parent 65c9177 commit e6979b4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# CHANGELOG

## Version 1.0.1
* Bugfix: invalid prop name

## Version 1.0.0
First version

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { ContextInfoMessage, ContextTipMessage } from 'ffe-context-message-react
### Props
```javascript
children: Content in the message. Required,
locale : One of 'nb', 'ny' or 'en'. Required,
locale : One of 'nb', 'ny' or 'en', Default value 'nb',
header : Content header,
icon : FFEIcon. A white background circle will automatically be set for the icon passed,
style: Style object, overrides the styles of the outermost container,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffe-context-message-react",
"version": "1.0.0",
"version": "1.0.1",
"description": "SpareBank 1 System Message komponent",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/context-info-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function ContextInfoMessage({ style, children, header, icon, onCl
icon={icon}
header={header}
style={style}
onCloseed={onClose}
onClose={onClose}
>
{children}
</Base>
Expand Down
2 changes: 1 addition & 1 deletion src/context-tip-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function ContextInfoMessage({ style, children, header, icon, onCl
icon={icon}
header={header}
style={style}
onCloseed={onClose}
onClose={onClose}
>
{children}
</Base>
Expand Down

0 comments on commit e6979b4

Please sign in to comment.