17
app/components/ExtendedDropdown/ExtendedDropdown.js
Executable file
17
app/components/ExtendedDropdown/ExtendedDropdown.js
Executable file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classNames from 'classnames';
|
||||
import { DropdownMenu } from 'reactstrap';
|
||||
|
||||
export const ExtendedDropdown = ({ className, ...otherProps }) => {
|
||||
const classes = classNames(
|
||||
className,
|
||||
'extended-dropdown'
|
||||
);
|
||||
return (
|
||||
<DropdownMenu className={ classes } { ...otherProps } />
|
||||
);
|
||||
}
|
||||
ExtendedDropdown.propTypes = {
|
||||
className: PropTypes.string,
|
||||
};
|
Reference in New Issue
Block a user