Skip to content

Conversation

@aeksandla
Copy link
Collaborator

No description provided.

@aeksandla aeksandla force-pushed the aeksandla/on-click-question branch from dedf0bb to dcff59f Compare January 15, 2026 12:51
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@aeksandla aeksandla marked this pull request as ready for review January 15, 2026 13:07
@aeksandla aeksandla requested a review from NikitaCG as a code owner January 15, 2026 13:07
text: string;
listStyle?: 'dash' | 'disk';
link?: LinkProps;
onClick?: (index: number, newState: boolean) => void;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newState: boolean it is means open/closed ? Maybe we need to rename

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes
Do you suggest calling this field "isOpened" or something else?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, maybe newOpenState

@aeksandla aeksandla merged commit 74d4aad into main Jan 19, 2026
4 checks passed
@aeksandla aeksandla deleted the aeksandla/on-click-question branch January 19, 2026 09:24
NikitaCG pushed a commit that referenced this pull request Jan 19, 2026
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.

4 participants