|
| 1 | +import { StyleSheet } from 'react-native' |
| 2 | + |
| 3 | +export default StyleSheet.create({ |
| 4 | + fill: { |
| 5 | + flex: 1, |
| 6 | + }, |
| 7 | + center: { |
| 8 | + alignItems: 'center', |
| 9 | + justifyContent: 'center', |
| 10 | + }, |
| 11 | + fillCenter: { |
| 12 | + flex: 1, |
| 13 | + alignItems: 'center', |
| 14 | + justifyContent: 'center', |
| 15 | + }, |
| 16 | + row: { |
| 17 | + flexDirection: 'row', |
| 18 | + }, |
| 19 | + rowReverse: { |
| 20 | + flexDirection: 'row-reverse', |
| 21 | + }, |
| 22 | + column: { |
| 23 | + flexDirection: 'column', |
| 24 | + }, |
| 25 | + columnReverse: { |
| 26 | + flexDirection: 'column-reverse', |
| 27 | + }, |
| 28 | + mainStart: { |
| 29 | + justifyContent: 'flex-start', |
| 30 | + }, |
| 31 | + mainCenter: { |
| 32 | + justifyContent: 'center', |
| 33 | + }, |
| 34 | + mainEnd: { |
| 35 | + justifyContent: 'flex-end', |
| 36 | + }, |
| 37 | + mainSpaceBetween: { |
| 38 | + justifyContent: 'space-between', |
| 39 | + }, |
| 40 | + mainSpaceAround: { |
| 41 | + justifyContent: 'space-around', |
| 42 | + }, |
| 43 | + crossStart: { |
| 44 | + alignItems: 'flex-start', |
| 45 | + }, |
| 46 | + crossCenter: { |
| 47 | + alignItems: 'center', |
| 48 | + }, |
| 49 | + crossEnd: { |
| 50 | + alignItems: 'flex-end', |
| 51 | + }, |
| 52 | + crossStretch: { |
| 53 | + alignItems: 'stretch', |
| 54 | + }, |
| 55 | + selfStretch: { |
| 56 | + alignSelf: 'stretch', |
| 57 | + }, |
| 58 | + rowMain: { |
| 59 | + flexDirection: 'row', |
| 60 | + justifyContent: 'center', |
| 61 | + }, |
| 62 | + rowCross: { |
| 63 | + flexDirection: 'row', |
| 64 | + alignItems: 'center', |
| 65 | + }, |
| 66 | + rowCenter: { |
| 67 | + flexDirection: 'row', |
| 68 | + alignItems: 'center', |
| 69 | + justifyContent: 'center', |
| 70 | + }, |
| 71 | + colMain: { |
| 72 | + flexDirection: 'column', |
| 73 | + justifyContent: 'center', |
| 74 | + }, |
| 75 | + colCross: { |
| 76 | + flexDirection: 'column', |
| 77 | + alignItems: 'center', |
| 78 | + }, |
| 79 | + colCenter: { |
| 80 | + flexDirection: 'column', |
| 81 | + alignItems: 'center', |
| 82 | + justifyContent: 'center', |
| 83 | + }, |
| 84 | + fillRow: { |
| 85 | + flex: 1, |
| 86 | + flexDirection: 'row', |
| 87 | + }, |
| 88 | + fillRowReverse: { |
| 89 | + flex: 1, |
| 90 | + flexDirection: 'row-reverse', |
| 91 | + }, |
| 92 | + fillRowMain: { |
| 93 | + flex: 1, |
| 94 | + flexDirection: 'row', |
| 95 | + justifyContent: 'center', |
| 96 | + }, |
| 97 | + fillRowCross: { |
| 98 | + flex: 1, |
| 99 | + flexDirection: 'row', |
| 100 | + alignItems: 'center', |
| 101 | + }, |
| 102 | + fillRowCenter: { |
| 103 | + flex: 1, |
| 104 | + flexDirection: 'row', |
| 105 | + alignItems: 'center', |
| 106 | + justifyContent: 'center', |
| 107 | + }, |
| 108 | + fillCol: { |
| 109 | + flex: 1, |
| 110 | + flexDirection: 'column', |
| 111 | + }, |
| 112 | + fillColReverse: { |
| 113 | + flex: 1, |
| 114 | + flexDirection: 'column-reverse', |
| 115 | + }, |
| 116 | + fillColMain: { |
| 117 | + flex: 1, |
| 118 | + flexDirection: 'column', |
| 119 | + justifyContent: 'center', |
| 120 | + }, |
| 121 | + fillColCross: { |
| 122 | + flex: 1, |
| 123 | + flexDirection: 'column', |
| 124 | + alignItems: 'center', |
| 125 | + }, |
| 126 | + fillColCenter: { |
| 127 | + flex: 1, |
| 128 | + flexDirection: 'column', |
| 129 | + alignItems: 'center', |
| 130 | + justifyContent: 'center', |
| 131 | + }, |
| 132 | + textCenter: { |
| 133 | + textAlign: 'center', |
| 134 | + }, |
| 135 | + textJustify: { |
| 136 | + textAlign: 'justify', |
| 137 | + }, |
| 138 | + textLeft: { |
| 139 | + textAlign: 'left', |
| 140 | + }, |
| 141 | + textRight: { |
| 142 | + textAlign: 'right', |
| 143 | + }, |
| 144 | + backgroundReset: { |
| 145 | + backgroundColor: 'transparent', |
| 146 | + }, |
| 147 | + fullWidth: { |
| 148 | + width: '100%', |
| 149 | + }, |
| 150 | +}) |
0 commit comments