-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32173 from software-mansion-labs/ts/overscrollBeh…
…aviorContain [No QA][TS migration] Migrate 'overscrollBehaviorContain' style to TypeScript
- Loading branch information
Showing
5 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
src/styles/utilities/overscrollBehaviorContain/index.native.ts
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import OverscrollBehaviorStyles from './types'; | ||
|
||
const overscrollBehaviorContain: OverscrollBehaviorStyles = {}; | ||
|
||
export default overscrollBehaviorContain; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import OverscrollBehaviorStyles from './types'; | ||
|
||
const overscrollBehaviorContain: OverscrollBehaviorStyles = { | ||
overscrollBehavior: 'contain', | ||
}; | ||
|
||
export default overscrollBehaviorContain; |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {ViewStyle} from 'react-native'; | ||
|
||
type OverscrollBehaviorStyles = Pick<ViewStyle, 'overscrollBehavior'>; | ||
|
||
export default OverscrollBehaviorStyles; |