Skip to content

Commit

Permalink
docs(Accordion): onChange (#8242)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud authored Feb 10, 2025
1 parent 4f84b5d commit d3f5e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vkui/src/components/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export interface AccordionProps extends HasChildren {
*/
defaultExpanded?: boolean;
/**
* Функция изменения
* Возвращает новое значение при изменении раскрытия/сворачивания контента.
*/
onChange?: (e: boolean) => void;
onChange?: (newValue: boolean) => void;
disabled?: boolean;
}

Expand Down

0 comments on commit d3f5e1c

Please sign in to comment.