react-icons/md APIs
- MdCheck
- MdAdd
- MdRefresh
- MdCreditCard
- MdLink
- MdClose
- MdInfoOutline
- MdDone
- MdNotificationsActive
- MdContentCopy
- MdMenu
- MdInfo
- MdWarning
- MdError
- MdAttachment
- MdOutlineEditOff
- MdOutlineAttachMoney
- MdOutlineLightMode
- MdOutlineDarkMode
- MdToday
- MdOutlinePreview
- MdOutlineModeEdit
- MdOutlinePeopleAlt
- MdCall
- MdTimeline
- MdOutlineDone
- MdSwapHoriz
- MdAssignment
- MdExplicit
- MdImage
- MdAddAPhoto
- MdBusiness
- MdVerifiedUser
- MdAddCircle
- MdLabel
- MdNavigateNext
- MdNotificationsOff
- MdSecurity
- MdNewReleases
- MdSettings
- MdVibration
- MdStayPrimaryPortrait
- MdCloudDownload
- MdCalendarToday
- MdFormatListNumbered
- MdContactPage
- MdDownload
- MdHelp
- MdOutlineBugReport
- MdQuestionAnswer
- MdTranslate
- MdWeb
- MdLaptop
- MdChevronRight
- MdChevronLeft
- MdZoomIn
- MdOpenInNew
- MdMenuOpen
- MdSearch
- MdFolderOpen
- MdArrowForward
- MdMoreHoriz
- MdClear
- MdDialpad
- MdMoneyOff
- MdVisibility
- MdVisibilityOff
- MdUpgrade
- MdSubject
- MdFullscreen
- MdRadar
- MdWbShade
- MdPublic
- MdGpsFixed
- MdGpsNotFixed
- MdGpsOff
- MdFileDownload
- MdFlag
- MdNotifications
- MdOutlineWarning
- MdOutlineAccountTree
- MdCode
- MdRemove
- MdSort
- MdArrowDropDown
- MdOutlineHome
- MdOutlineEmail
- MdExpandMore
- MdFormatAlignLeft
- MdFormatAlignRight
- MdFormatAlignCenter
- MdFormatAlignJustify
- MdBolt
- MdPlayCircleFilled
- MdHorizontalSplit
- MdSpaceDashboard
- MdComputer
- MdDangerous
- MdArrowBackIos
- MdColorLens
- MdSettingsEthernet
- MdDateRange
- MdPlace
- MdPlaylistAdd
- MdDns
- MdTextFields
- MdTitle
- MdVpnKey
- MdMemory
Other Related APIs
react-icons/md#MdArrowDropDown TypeScript Examples
The following examples show how to use
react-icons/md#MdArrowDropDown.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: VersionSwitcher.tsx From website-docs with MIT License | 5 votes |
export function VersionSwitcher({ name, pathConfig, availIn }: Props) {
const { t } = useI18next()
return (
<Dropdown className={dropdown} hoverable>
<DropdownTrigger className={dropdownTrigger}>
<Button className={button} fullwidth>
<span>{renderVersion(pathConfig.version, pathConfig)}</span>
<MdArrowDropDown />
</Button>
</DropdownTrigger>
<DropdownMenu className={dropdownMenu}>
<DropdownContent className={dropdownContent}>
{AllVersion[pathConfig.repo][pathConfig.locale].map(
(version, i, arr) => (
<Fragment key={version}>
{version && availIn.indexOf(version) === -1 ? (
<DropdownItem as="div">
<span
className={noExist}
data-tooltip={t('doc.notExist')}
data-flow="right">
{renderVersion(version, pathConfig)}
</span>
</DropdownItem>
) : (
<DropdownItem
// @ts-ignore
as={Link}
to={`/${pathConfig.repo}/${version}/${name}`}>
{renderVersion(version, pathConfig)}
</DropdownItem>
)}
{i < arr.length - 1 && <DropdownDivider />}
</Fragment>
)
)}
</DropdownContent>
</DropdownMenu>
</Dropdown>
)
}