Skip to content

Commit

Permalink
fix(InputGroupButton): corrected theme varibale default mistake + imp…
Browse files Browse the repository at this point in the history
…roved example.
  • Loading branch information
Alexander Janet committed Jan 31, 2019
1 parent aae45f0 commit 1bedf2b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/InputGroup/InputGroupButton.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,16 @@
<InputGroupButton>
I'm a button
</InputGroupButton>
<Input />
</InputGroup>
```
```js
<React.Fragment>
<InputGroup>
<InputGroupButton color="danger">To the Left!</InputGroupButton>
<Input placeholder="and..." />
<InputGroupButton color="success">To the Right!</InputGroupButton>
</InputGroup>
</React.Fragment>
```
2 changes: 1 addition & 1 deletion src/InputGroup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const defaultProps = {
'$input-border-focus': 'hsl(207.79999999999995, 98.2%, 53.4%)',
'$input-box-shadow-focus': 'inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(hsl(207.79999999999995, 98.2%, 53.4%),.6)',
'$input-color': '#464a4c',
'$input-group-addon-border-color': 'border-color ease-in-out .15s, box-shadow ease-in-out .15s',
'$input-group-addon-border-color': 'rgba(0, 0, 0, 0.15)',
'$input-padding-x-sm': '.5rem',
'$input-padding-y-sm': '.25rem',
'$input-color-placeholder': '#636c72',
Expand Down

0 comments on commit 1bedf2b

Please sign in to comment.