Skip to content

Commit fcfe88d

Browse files
committed
fix(docs): add and use reactstrap alias
1 parent 5f9711d commit fcfe88d

15 files changed

Lines changed: 17 additions & 14 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install reactstrap --save
1717
Import the components you need, example:
1818

1919
```js
20-
import { Button } from 'lib/index';
20+
import { Button } from 'reactstrap';
2121
```
2222

2323

docs/lib/Components/DropdownsExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, ButtonDropdown, Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'lib/index';
4+
import { Button, ButtonDropdown, Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'reactstrap';
55

66
class DropdownsExample extends React.Component {
77
constructor(props) {

docs/lib/Components/LabelsExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Label } from 'lib/index';
4+
import { Label } from 'reactstrap';
55

66
class LabelsExample extends React.Component {
77
render() {

docs/lib/Components/ModalExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'lib/index';
4+
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
55

66
class ModalExample extends React.Component {
77
constructor(props) {

docs/lib/Components/PopoverExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, Popover, PopoverTitle, PopoverContent } from 'lib/index';
4+
import { Button, Popover, PopoverTitle, PopoverContent } from 'reactstrap';
55

66
class PopoverItem extends React.Component {
77
constructor(props) {

docs/lib/Components/TetherExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, TetherContent } from 'lib/index';
4+
import { Button, TetherContent } from 'reactstrap';
55

66

77
class TetherExample extends React.Component {

docs/lib/Components/TooltipExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, Tooltip } from 'lib/index';
4+
import { Button, Tooltip } from 'reactstrap';
55

66
class TooltipExample extends React.Component {
77
constructor(props) {

example/js/ButtonsExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, ButtonGroup, ButtonToolbar } from 'lib/index';
4+
import { Button, ButtonGroup, ButtonToolbar } from 'reactstrap';
55

66
const Link = (props) => <a {...props}>{props.children}</a>;
77

example/js/DropdownsExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Button, ButtonDropdown, Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'lib/index';
4+
import { Button, ButtonDropdown, Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'reactstrap';
55

66
class DropdownsExample extends React.Component {
77
constructor(props) {

example/js/LabelsExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
22

33
import React from 'react';
4-
import { Label } from 'lib/index';
4+
import { Label } from 'reactstrap';
55

66
class LabelsExample extends React.Component {
77
render() {

0 commit comments

Comments
 (0)