-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PLASMA-3991: add beforeList and afterList props in Select #1613
Conversation
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1613/ |
Documentation preview deployed! website:https://plasma.sberdevices.ru/pr/pr-1613/ |
cy.matchImageSnapshot(); | ||
}); | ||
|
||
it('prop: afterList', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
еще бы тест на оба свойства сразу
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
пока что мы свойства тестируем отдельно, без комбинаций
/** | ||
* Ячейка для контента в конце выпадающего списка. | ||
*/ | ||
afterList?: React.ReactNode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не вижу api.md файлов
beforeList?: React.ReactNode; | ||
/** | ||
* Ячейка для контента в конце выпадающего списка. | ||
*/ | ||
afterList?: React.ReactNode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мб добавить для них пример в доку?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это лишнее, примеры в доке для более комплексных кейсов
c5fe13b
to
735fe9d
Compare
735fe9d
to
d799c63
Compare
Core
Select
What/why changed
добавлены свойства beforeList и afterList, которые служат ячейками для контента в выпадающем списке;
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via: