Skip to content

fix: button onClick interface - #101

Merged
rccn-depplay merged 1 commit into
mainfrom
EV-10406
Feb 25, 2026
Merged

rccn-depplay merged 1 commit into
mainfrom
EV-10406

Conversation

@rccn-depplay

Copy link
Copy Markdown
Contributor

Использовался onPress обработчик из react-aria - он имеет интерфейс PressEvent - обычный ивент приводится к нему внутри react-aria/Button - у нас используется обычная кнопка, следовательно и ивент у нас обычный
https://react-aria.adobe.com/Button

Comment thread src/components/button/Button.tsx
fix: types in triggers

fix: remove type
Comment thread src/components/modal/ModalTrigger.tsx
@rccn-depplay
rccn-depplay merged commit 69bf586 into main Feb 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants