Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@snack-uikit/button-private
Advanced tools
npm i @snack-uikit/button-private
name | type | default value | description |
---|---|---|---|
labelClassName* | string | - | |
iconClassName* | string | - | |
href | string | - | Ссылка |
target | HTMLAttributeAnchorTarget | _blank | HTML-аттрибут target |
className | string | - | CSS-класс |
disabled | boolean | - | Флаг неактивности компонента |
icon | ReactElement | - | Иконка |
iconPosition | enum IconPosition: "before" , "after" | after | Позиция иконки |
label | string | - | Текст кнопки |
loading | boolean | - | Флаг состояния загрузки |
onClick | MouseEventHandler<HTMLElement> | - | Колбек обработки клика |
onKeyDown | KeyboardEventHandler<HTMLElement> | - | Колбек обработки нажатия клавиши |
onFocus | FocusEventHandler<HTMLButtonElement | HTMLAnchorElement> | - | Колбек обработки фокуса |
onBlur | FocusEventHandler<HTMLButtonElement | HTMLAnchorElement> | - | Колбек обработки блюра |
size | enum Size: "xs" , "s" , "m" , "l" | - | Размер |
appearance | enum Appearance: "primary" , "neutral" , "destructive" | primary | Внешний вид кнопки |
type | "submit" | "reset" | "button" | button | HTML-аттрибут type |
tabIndex | number | - | HTML-аттрибут tab-index |
fullWidth | boolean | - | Сделать кнопку во всю ширину |
counter | CounterInButtonProps | - | Пропсы каунтера в кнопке |
ref | LegacyRef<HTMLButtonElement | HTMLAnchorElement> | - | 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} |
key | Key | - |
name | type | default value | description |
---|---|---|---|
counter | CounterInButtonProps | - | Пропсы каунтера в кнопке |
name | type | default value | description |
---|---|---|---|
href | string | - | Ссылка |
target | HTMLAttributeAnchorTarget | - | HTML-аттрибут target |
className | string | - | CSS-класс |
disabled | boolean | - | Флаг неактивности компонента |
icon | ReactElement | - | Иконка |
iconPosition | enum IconPosition: "before" , "after" | - | Позиция иконки |
label | string | - | Текст кнопки |
loading | boolean | - | Флаг состояния загрузки |
onClick | MouseEventHandler<HTMLElement> | - | Колбек обработки клика |
onKeyDown | KeyboardEventHandler<HTMLElement> | - | Колбек обработки нажатия клавиши |
onFocus | FocusEventHandler<HTMLButtonElement | HTMLAnchorElement> | - | Колбек обработки фокуса |
onBlur | FocusEventHandler<HTMLButtonElement | HTMLAnchorElement> | - | Колбек обработки блюра |
size | enum Size: "xs" , "s" , "m" , "l" | - | Размер |
appearance | enum Appearance: "primary" , "neutral" , "destructive" | - | Внешний вид кнопки |
type | "submit" | "reset" | "button" | - | HTML-аттрибут type |
tabIndex | number | - | HTML-аттрибут tab-index |
fullWidth | boolean | - | Сделать кнопку во всю ширину |
FAQs
Unknown package
The npm package @snack-uikit/button-private receives a total of 191 weekly downloads. As such, @snack-uikit/button-private popularity was classified as not popular.
We found that @snack-uikit/button-private demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.