react-native-boxes 1.3.18 → 1.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Box.tsx +1 -3
- package/src/Button.tsx +0 -1
- package/src/demo.tsx +1 -1
package/package.json
CHANGED
package/src/Box.tsx
CHANGED
|
@@ -82,7 +82,7 @@ export function VPage(props: ViewProps) {
|
|
|
82
82
|
* @param param0
|
|
83
83
|
* @returns
|
|
84
84
|
*/
|
|
85
|
-
const KeyboardAvoidingScrollView: React.FC<ScrollViewProps> = (props: ScrollViewProps) => {
|
|
85
|
+
export const KeyboardAvoidingScrollView: React.FC<ScrollViewProps> = (props: ScrollViewProps) => {
|
|
86
86
|
const theme = useContext(ThemeContext)
|
|
87
87
|
let insets
|
|
88
88
|
try {
|
|
@@ -111,8 +111,6 @@ const KeyboardAvoidingScrollView: React.FC<ScrollViewProps> = (props: ScrollView
|
|
|
111
111
|
)
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
export default KeyboardAvoidingScrollView
|
|
115
|
-
|
|
116
114
|
export function CardView(props: ViewProps) {
|
|
117
115
|
|
|
118
116
|
const theme = useContext(ThemeContext)
|
package/src/Button.tsx
CHANGED
|
@@ -283,7 +283,6 @@ export function LoadingButton(props: TextProps & TouchableHighlightProps
|
|
|
283
283
|
{...props}
|
|
284
284
|
underlayColor={btnBgPressed}
|
|
285
285
|
style={[{
|
|
286
|
-
width: _loading ? '100%' : '100%',
|
|
287
286
|
backgroundColor: btnBg,
|
|
288
287
|
padding: _loading && props.loaderStyle == 'transparent' ?
|
|
289
288
|
theme.dimens.space.sm : theme.dimens.space.md
|
package/src/demo.tsx
CHANGED
|
@@ -8,7 +8,7 @@ import { AlertMessage } from './Message';
|
|
|
8
8
|
import { BottomSheet, DropDownView } from './Modal';
|
|
9
9
|
import { Avatar, Icon } from './Image';
|
|
10
10
|
import { ReactWrapper } from './utils';
|
|
11
|
-
import
|
|
11
|
+
import { Box, KeyboardAvoidingScrollView } from './Box';
|
|
12
12
|
import { DarkColors, LightColors } from './Styles';
|
|
13
13
|
|
|
14
14
|
export interface DemoScreenProps {
|