mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
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:
parent
28e8df780a
commit
8dc5aaa3ca
5
.changeset/large-bears-poke.md
Normal file
5
.changeset/large-bears-poke.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/button": patch
|
||||
---
|
||||
|
||||
export PressEvent for onPress event typing (#4818)
|
||||
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user