Skip to content

refactor: привели аргументы хуков и хелперов к единым объектам props#204

Open
gwizxs wants to merge 1 commit intomax-messenger:mainfrom
gwizxs:refactor/unify-props
Open

refactor: привели аргументы хуков и хелперов к единым объектам props#204
gwizxs wants to merge 1 commit intomax-messenger:mainfrom
gwizxs:refactor/unify-props

Conversation

@gwizxs
Copy link

@gwizxs gwizxs commented Feb 22, 2026

привели аргументы хуков и хелперов к единым объектам props. Обернул аргументы вспомогательных функций (getSubtree, dispatchChangeNativeEvent, getCssSizeValue) и хука useImageLoadingStatus в единые интерфейсы (Props объектов). Обновил вызовы getSubtree во всех компонентах (AvatarContainer, Button, CellAction, CellSimple, IconButton, ToolButton), чтобы они соответствовали новому формату вызова и ничего не ломало.

@gwizxs gwizxs requested a review from a team as a code owner February 22, 2026 19:25
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.

1 participant