File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,7 @@ import Image, {ImageProps} from '../image';
6
6
import { Colors } from 'style' ;
7
7
8
8
export enum FaderPosition {
9
- /**
10
- * @deprecated please use START instead
11
- */
12
- LEFT = 'LEFT' ,
13
9
START = 'START' ,
14
- /**
15
- * @deprecated please use END instead
16
- */
17
- RIGHT = 'RIGHT' ,
18
10
END = 'END' ,
19
11
TOP = 'TOP' ,
20
12
BOTTOM = 'BOTTOM'
@@ -57,13 +49,11 @@ function Fader(props: FaderProps) {
57
49
const styles = useMemo ( ( ) => {
58
50
let containerStyle , imageStyle , imageSource ;
59
51
switch ( position ) {
60
- case FaderPosition . LEFT :
61
52
case FaderPosition . START :
62
53
containerStyle = { ...staticStyles . containerLeft , width : size } ;
63
54
imageStyle = { height : '100%' , width : size } ;
64
55
imageSource = require ( './gradientLeft.png' ) ;
65
56
break ;
66
- case FaderPosition . RIGHT :
67
57
case FaderPosition . END :
68
58
containerStyle = { ...staticStyles . containerRight , width : size } ;
69
59
imageStyle = { height : '100%' , width : size } ;
You can’t perform that action at this time.
0 commit comments