Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@synerise/ds-dropdown
Advanced tools
Readme
Dropdown UI Component
Property | Description | Type | Default |
---|---|---|---|
disabled | Whether the dropdown menu is disabled | boolean | - |
getPopupContainer | Function used to set the container of the dropdown menu. The default is to create a div element in body , you can reset it to the scrolling area and make a relative reposition. | Function(triggerNode) | () => document.body |
overlay | Dropdown menu | Menu \ () => Menu | - |
overlayClassName | Class name of the dropdown root element | string | - |
overlayStyle | Style of the dropdown root element | object | - |
placement | Placement of pop menu. | bottomLeft / bottomCenter / bottomRight / topLeft / topCenter / topRight / bottomLeft | - |
trigger | Trigger mode which executes the drop-down action (hover doesn't work on mobile device) | ['hover', 'click', 'contextMenu'] | ['hover'] |
visible | Whether the dropdown menu is visible | boolean | - |
onVisibleChange | A callback executed on visibility changes. | (visible: boolean)=>void | - |
Property | Description | Type | Default |
---|---|---|---|
onSearchChange | Action triggered after input change | (value: string) => void | - |
placeholder | Input placeholder | string | - |
autofocus | Autofocus input | boolean | - |
Property | Description | Type | Default |
---|---|---|---|
onClickAction | Action triggered on click | () => void | - |
icon | Icon component to show before the text | React.Element | - |
Property | Description | Type | Default |
---|---|---|---|
onClick | Action triggered on click | () => void | - |
label | Label of the button | React.Element | - |
FAQs
Dropdown UI Component for the Synerise Design System
The npm package @synerise/ds-dropdown receives a total of 145 weekly downloads. As such, @synerise/ds-dropdown popularity was classified as not popular.
We found that @synerise/ds-dropdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.