Skip to content

Commit 62a4a80

Browse files
committed
update icon buttons, fix weird utils error
1 parent 9b5856c commit 62a4a80

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

docs/app/Examples/elements/Button/Groups/ButtonButtonsExample.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export default class ButtonButtonsExample extends Component {
55
render() {
66
return (
77
<Buttons>
8-
<Button class='primary'>One</Button>
9-
<Button class='primary'>Two</Button>
10-
<Button class='primary'>Three</Button>
8+
<Button>One</Button>
9+
<Button>Two</Button>
10+
<Button>Three</Button>
1111
</Buttons>
1212
);
1313
}

docs/app/Examples/elements/Button/Groups/ButtonIconButtonsExample.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ export default class ButtonIconButtonsExample extends Component {
55
render() {
66
return (
77
<Buttons>
8-
<Button class='primary'>One</Button>
9-
<Button class='primary'>Two</Button>
10-
<Button class='primary'>Three</Button>
8+
<Button className='icon'>
9+
<i className='save icon' />
10+
</Button>
11+
<Button className='icon'>
12+
<i className='delete icon' />
13+
</Button>
14+
<Button className='icon'>
15+
<i className='edit icon' />
16+
</Button>
1117
</Buttons>
1218
);
1319
}

test/utils/React-util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
/**
2020
* Render a ReactElement and use helpful test utility methods against it.
2121
* @param {ReactElement} reactElement The element to render.
22-
* @returns {RenderedTree}
22+
* @returns {RenderedTree} The return
2323
*/
2424
class RenderedTree {
2525
constructor(reactElement) {

0 commit comments

Comments
 (0)