# rc-dropdown **Repository Path**: mirrors_fis-components/rc-dropdown ## Basic Information - **Project Name**: rc-dropdown - **Description**: Fork from https://github.com/react-component/dropdown.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rc-dropdown react dropdown component [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![gemnasium deps][gemnasium-image]][gemnasium-url] [![node version][node-image]][node-url] [![npm download][download-image]][download-url] [npm-image]: http://img.shields.io/npm/v/rc-dropdown.svg?style=flat-square [npm-url]: http://npmjs.org/package/rc-dropdown [travis-image]: https://img.shields.io/travis/react-component/dropdown.svg?style=flat-square [travis-url]: https://travis-ci.org/react-component/dropdown [coveralls-image]: https://img.shields.io/coveralls/react-component/dropdown.svg?style=flat-square [coveralls-url]: https://coveralls.io/r/react-component/dropdown?branch=master [gemnasium-image]: http://img.shields.io/gemnasium/react-component/dropdown.svg?style=flat-square [gemnasium-url]: https://gemnasium.com/react-component/dropdown [node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square [node-url]: http://nodejs.org/download/ [download-image]: https://img.shields.io/npm/dm/rc-dropdown.svg?style=flat-square [download-url]: https://npmjs.org/package/rc-dropdown ## Screenshot ![](https://t.alipayobjects.com/images/rmsweb/T1bWpgXgBaXXXXXXXX.png) ## Example online example: http://react-component.github.io/dropdown/examples/ ## install [![rc-dropdown](https://nodei.co/npm/rc-dropdown.png)](https://npmjs.org/package/rc-dropdown) ## Usage ```js var Dropdown = require('rc-dropdown'); // use dropdown ``` ## API ### props
name type default description
className String additional css class of root dom node
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](https://github.com/react-component/menu) element
## Development ``` npm install npm start ``` ## Test Case http://localhost:8006/tests/runner.html?coverage ## Coverage http://localhost:8006/node_modules/rc-server/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8006/tests/runner.html?coverage ## License rc-dropdown is released under the MIT license.