Conversation
Добавляем возможность добавлять тень для кнопки
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6a51b6b:
|
👀 Docs deployedCommit 6a51b6b |
size-limit report 📦
|
e2e tests |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5275 +/- ##
==========================================
+ Coverage 81.69% 81.73% +0.03%
==========================================
Files 283 283
Lines 9483 9486 +3
Branches 3016 3018 +2
==========================================
+ Hits 7747 7753 +6
+ Misses 1736 1733 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
| before?: React.ReactNode; | ||
| after?: React.ReactNode; | ||
| loading?: boolean; | ||
| elevation?: Elevation; |
There was a problem hiding this comment.
Может dropShadow? А то elevation слишком уж абстрактно
There was a problem hiding this comment.
There was a problem hiding this comment.
У матириала Elevation отвечает за уровень элемента, так скажем, за его z-index. Тень выступает это второстепенный атрибут элемента.
В нашем случае, как я понял, дизайн хочет чисто визуальный акцент придать кнопке.
Можем на дизайн-синке обсудить про Elevation, а то сейчас применим важный паттерн с неполной его реализацией
|
PR закрыт из-за отсутствия активности в течение последних 14 дней. Если это произошло по ошибке или изменения все ещё актуальны, откройте PR повторно. |
Добавляем свойство установки тени для кнопки