feat(button): export PressEvent for onPress event typing (#4819)

* fix(docs): failed to install dependencies in StackBlitz (#4639)

* chore(Docs): remove step 2 from "Using use-theme-hook" (#4797)

* fix(docs): incorrect code Modal placement (#4652)

* docs: update DatePicker example to remove "time" label as time selection is not supported in this example (#4443)

* feat(button): export PressEvent for onPress event typing

* revert unnecessary changes

* chore: format

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: Praharsh Bhatt <30700808+praharshbhatt@users.noreply.github.com>
This commit is contained in:
Ryo Matsukawa 2025-02-11 22:04:53 +09:00 committed by GitHub
parent 28e8df780a
commit 8dc5aaa3ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@heroui/button": patch
---
export PressEvent for onPress event typing (#4818)

View File

@ -4,6 +4,7 @@ import ButtonGroup from "./button-group";
// export types
export type {ButtonProps} from "./button";
export type {ButtonGroupProps} from "./button-group";
export type {PressEvent} from "@react-types/shared";
// export hooks
export {useButton} from "./use-button";