File tree Expand file tree Collapse file tree 8 files changed +440
-14
lines changed Expand file tree Collapse file tree 8 files changed +440
-14
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,6 @@ typings/
7272# Serverless directories
7373.serverless
7474
75- dist
75+ dist
76+
77+ .ionide
Original file line number Diff line number Diff line change 5959 status bar container. Defaults to ` 'white' ` ;
6060- ` disableHeaderSnap?: boolean ` - pass ` true ` to disable header snap animations. Defaults to ` false ` ;
6161- ` headerAnimationDuration?: number ` - duration of snap and ` showHeader ` , ` hideHeader ` animations.
62- Defaults to ` 350 ` .
62+ Defaults to ` 350 ` ;
63+ - ` clipHeader?: boolean ` - if ` true ` header will be clipped with ` overflow: 'hidden' ` style.
6364
6465Also some of ` ScrollView ` props have new defaults: ` bounces ` defaults to ` false ` , ` overScrollMode `
6566to ` 'never' ` and ` scrollEventThrottle ` to ` 1 ` .
@@ -72,7 +73,7 @@ to `'never'` and `scrollEventThrottle` to `1`.
7273 opacity etc.;
7374- ` showHeader: (options: { animated: boolean } | unknown) => void ` - pushes header down with animation
7475 enabled by default;
75- - ` hideHeader: (options: { animated: boolean } | unknown) => void ` - pulls header up with animation
76+ - ` hideHeader: (options: { animated: boolean } | unknown) => void ` - pulls header up with animation
7677 enabled by default.
7778
7879### Methods
@@ -83,7 +84,7 @@ to `'never'` and `scrollEventThrottle` to `1`.
8384 to original component;
8485- ` showHeader: (options: { animated: boolean } | unknown) => void ` - pushes header down with animation
8586 enabled by default;
86- - ` hideHeader: (options: { animated: boolean } | unknown) => void ` - pulls header up with animation
87+ - ` hideHeader: (options: { animated: boolean } | unknown) => void ` - pulls header up with animation
8788 enabled by default.
8889
8990#### withCollapsibleHeader
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module Props =
1212
1313 type AnimationConfig =
1414 { animated: bool }
15-
15+
1616 type CollapsibleHeaderProps =
1717 { interpolatedHeaderTranslation: ( float -> float -> Animated .AnimatedInterpolation )
1818 showHeader: ( AnimationConfig -> unit )
@@ -32,6 +32,7 @@ module Props =
3232 | HeaderContainerBackgroundColor of string
3333 | DisableHeaderSnap of bool
3434 | HeaderAnimationDuration of float
35+ | ClipHeader of bool
3536 | Ref of Ref < CollapsibleHeaderView >
3637
3738
You can’t perform that action at this time.
0 commit comments