Skip to content

Commit 608a671

Browse files
committed
update evenly divided fields example, fix linting errors
1 parent 0a80eb4 commit 608a671

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/app/Examples/collections/Form/GroupVariations/FormGroupEvenlyDividedExample.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ export default class FormGroupEvenlyDividedExample extends Component {
66
return (
77
<Form>
88
<Fields evenlyDivided>
9-
<Field label='First name' className='inline'>
9+
<Field label='First name'>
1010
<Input placeholder='First name' />
1111
</Field>
12+
<Field label='Last name'>
13+
<Input placeholder='Last name' />
14+
</Field>
1215
</Fields>
1316
</Form>
1417
);

test/specs/Conformance-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ describe('Conformance', () => {
8383
// https://facebook.github.io/react/docs/jsx-gotchas.html#custom-html-attributes
8484
props[`data-${_.kebabCase(faker.hacker.noun())}`] = faker.hacker.noun();
8585

86-
console.log(props);
8786
// create element with random props
8887
render(<SDComponent {...props} />)
8988
.children()

test/specs/addons/Confirm-test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ describe('Confirm', () => {
1111
});
1212
it('default prop ref should be "modal"', () => {
1313
Confirm.defaultProps.ref.should.equal('modal');
14-
var foo = true;
1514
});
1615
it('should return true on confirm', () => {
1716
const confirm = render(<Confirm />);
1817
const button = confirm.findClass('sd-confirm-button');
1918
confirm
2019
.first()
2120
.show()
22-
.then(isConfirmed => isConfirmed.should.equal(true);
21+
.then(isConfirmed => isConfirmed.should.equal(true));
2322
Simulate.click(button);
2423
});
2524
it('should return false on abort', () => {

0 commit comments

Comments
 (0)