feat(reactstrap): writing some tests

This commit is contained in:
Danilo Barros
2017-05-01 15:57:34 -03:00
parent 1fd7f20c32
commit 961c6fd498

View File

@@ -3221,3 +3221,66 @@ function Example() {
</div>
);
}
function Example104() {
const props = {
className: 'my-input',
style: {
borderColor: 'black',
}
};
return (
<FormGroup
className="some-class"
aria-labelledby="label"
>
<Label sm={3} id="label">
Label
</Label>
<Col className="col-12" sm={9}>
<Input type="text" size="lg" {...props} />
</Col>
</FormGroup>
);
}
function Example105() {
return (
<Dropdown
className="main-nav-avatar"
isOpen={true}
aria-labelledby="menu"
>
<a
href="javascript:void(0)"
id="menu"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Toggle
</a>
<DropdownMenu right>
<div className="d-block">
Item
</div>
</DropdownMenu>
</Dropdown>
);
}
function Example106() {
return (
<Nav vertical>
<NavLink
className="toggle-drawer"
href="#"
>
Details
</NavLink>
</Nav>
);
}