-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE(web-react): Rename ScrollView
indicators
prop to `o…
…verflowDecorators` #DS-825 ## Migration Guide Rename `indicators` prop to `overflowDecorators` on all ScrollView component usages. - `<ScrollView indicators="shadows" …>` → `<ScrollView overflowDecorators="shadows" …>` - `<ScrollView indicators="borders" …>` → `<ScrollView overflowDecorators="borders" …>` - `<ScrollView indicators="both" …>` → `<ScrollView overflowDecorators="both" …>` Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
- Loading branch information
Showing
8 changed files
with
40 additions
and
38 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Direction } from '../../constants'; | ||
|
||
export const SCROLL_VIEW_DEFAULT_DIRECTION = Direction.VERTICAL; | ||
export const SCROLL_VIEW_DEFAULT_EDGE_INDICATOR = 'shadows'; | ||
export const SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR = 'shadows'; | ||
export const EDGE_DETECTION_INACCURACY_PX = 1; | ||
export const DEBOUNCE_DELAY = 50; |
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