Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d057f33

Browse filesBrowse files
committed
feat: Dropdown prop direction
1 parent 8aa5884 commit d057f33
Copy full SHA for d057f33

File tree

1 file changed

+5
-4
lines changed
Filter options

1 file changed

+5
-4
lines changed

‎src/HeaderDropdown.js

Copy file name to clipboardExpand all lines: src/HeaderDropdown.js
+5-4Lines changed: 5 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.