Skip to content
JavaScript CSS
Branch: master
Clone or download
dependabot-preview and afc163 Update bootstrap requirement from ~3.4.0 to ~4.3.1
Updates the requirements on [bootstrap]( to permit the latest version.
- [Release notes](
- [Commits](twbs/bootstrap@v3.4.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <>
Latest commit 993fad0 Jul 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Add placement top-right and bottom-right May 11, 2016
examples supports overlay callback (#53) Dec 28, 2018
src fix onClick not found when use callback Dec 28, 2018
tests supports overlay callback (#53) Dec 28, 2018
.editorconfig first commit May 30, 2015
.travis.yml Convert to es6 class syntax Apr 18, 2017 bump 2.4.0 Dec 28, 2018 Added Dec 21, 2016 Update additional props Jan 25, 2019
index.d.ts Add type definition May 8, 2019
index.js release 1.0.0 Jun 8, 2015
package.json Update bootstrap requirement from ~3.4.0 to ~4.3.1 Jul 18, 2019


react dropdown component

NPM version build status Test coverage gemnasium deps node version npm download



online example:




var Dropdown = require('rc-dropdown');
// use dropdown



name type default description
overlayClassName String additional css class of root dom node
openClassName String`${prefixCls}-open`className of trigger when dropdown is opened
prefixCls String rc-tooltip prefix class name
transitionName String dropdown menu's animation css class name
animation String part of dropdown menu's animation css class name
onVisibleChange Function call when visible is changed
visible boolean whether tooltip is visible
defaultVisible boolean whether tooltip is visible initially
overlay rc-menu rc-menu element
onOverlayClick function(e) call when overlay is clicked
minOverlayWidthMatchTrigger booleantrue (false when set alignPoint)whether overlay's width must not be less than trigger's

Note: Additional props are passed into the underlying rc-trigger component. This can be useful for example, to display the dropdown in a separate portal-driven window via the getDocument() rc-trigger prop.


npm install
npm start

Test Case

npm test
npm run chrome-test


npm run coverage

open coverage/ dir


rc-dropdown is released under the MIT license.

You can’t perform that action at this time.