Socket
Book a DemoInstallSign in
Socket

@snack-uikit/button-combo

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snack-uikit/button-combo

Кнопка с выбором действий

latest
Source
npmnpm
Version
0.2.24
Version published
Weekly downloads
270
1700%
Maintainers
3
Weekly downloads
 
Created
Source

Button Combo

Installation

npm i @snack-uikit/button-combo

Changelog

Кнопка с выбором действий

ButtonCombo

Props

nametypedefault valuedescription
items*Item[]-Основные элементы списка
classNamestring-CSS-класс
disabledboolean-Флаг неактивности компонента
loadingboolean-Флаг состояния загрузки
sizeenum Size: "xs", "s", "m", "l"sРазмер
tabIndexnumber-HTML-аттрибут tab-index
fullWidthboolean-Сделать кнопку во всю ширину
openboolean-Управляет состоянием показан/не показан.
onOpenChange(isOpen: boolean) => void-Колбек отображения компонента. Срабатывает при изменении состояния open.
dropdownClassNamestring-CSS-класс Dropdown
optionClassNamestring-CSS-класс Option кнопки
dropdownTriggerClassNamestring-CSS-класс Dropdown trigger кнопки
valueItemId-Controlled состояние
onChange(value: ItemId) => void-Controlled обработчик измения состояния
defaultValuestring-Начальное состояние
defaultLabelstring-Начальное состояние лейбла
refLegacyRef<HTMLDivElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). @see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}
keyKey-

FAQs

Package last updated on 22 Sep 2025

Did you know?

Socket

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.

Install

Related posts