-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Snackbar): Let layout prop to take priority (#6731)
Из-за того, что свойство `layout` играет роль только если не выполнено одно из условий (в том числе `isDesktop`), то задать желаемый `layout` для того чтобы `action` был на десктопе горизонтально невозможно. Хотя нам ничего не мешает сохранить условие, но дать приоритет именно значению переданному через свойство `layout`. https://github.com/VKCOM/VKUI/blob/cb0cc188b4d543062312f518102da266c56533f9/packages/vkui/src/components/Snackbar/Snackbar.tsx#L171
- Loading branch information
Showing
3 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters