Skip to content

Commit d057f33

Browse files
committed
feat: Dropdown prop direction
1 parent 8aa5884 commit d057f33

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/HeaderDropdown.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import React, { Component } from 'react';
2-
import {
3-
Dropdown,
4-
} from 'reactstrap';
2+
import { Dropdown } from 'reactstrap';
53
import PropTypes from 'prop-types';
64

75
const propTypes = {
86
children: PropTypes.node,
7+
direction: PropTypes.string
98
};
109

11-
const defaultProps = {};
10+
const defaultProps = {
11+
direction: 'down'
12+
};
1213

1314
class AppHeaderDropdown extends Component {
1415
constructor(props) {

0 commit comments

Comments
 (0)