@r0b0t3d/react-native-collapsible 1.5.2 → 1.5.3
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/lib/typescript/components/CollapsibleContainer.d.ts +1 -1
- package/lib/typescript/components/CollapsibleContainer.d.ts.map +1 -1
- package/lib/typescript/components/header/StickyView.d.ts +1 -1
- package/lib/typescript/components/header/StickyView.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/CollapsibleContainer.tsx +1 -1
- package/src/components/header/StickyView.tsx +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { KeyboardAvoidingView, KeyboardAvoidingViewProps, ViewProps } from 'react-native';
|
|
3
3
|
type Props = Omit<ViewProps, 'ref' | 'onLayout'> & {
|
|
4
|
-
children:
|
|
4
|
+
children: React.ReactNode;
|
|
5
5
|
KeyboardAvoidingViewComponent?: typeof KeyboardAvoidingView;
|
|
6
6
|
keyboardAvoidingViewProps?: KeyboardAvoidingViewProps;
|
|
7
7
|
textInputRefs?: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleContainer.d.ts","sourceRoot":"","sources":["../../../src/components/CollapsibleContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EAGzB,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC,GAAG;IACjD,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"CollapsibleContainer.d.ts","sourceRoot":"","sources":["../../../src/components/CollapsibleContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EAGzB,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC,GAAG;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6BAA6B,CAAC,EAAE,OAAO,oBAAoB,CAAC;IAC5D,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;IACtD,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC;CACvB,CAAC;AA+CF,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAClD,QAAQ,EACR,aAAa,EACb,yBAAyB,EACzB,6BAA6B,EAC7B,GAAG,KAAK,EACT,EAAE,KAAK,qBAiCP"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
type Props = {
|
|
4
4
|
style?: StyleProp<ViewStyle>;
|
|
5
|
-
children:
|
|
5
|
+
children: React.ReactNode;
|
|
6
6
|
stickyRef?: React.MutableRefObject<any>;
|
|
7
7
|
};
|
|
8
8
|
export default function StickyView({ children, style, stickyRef }: Props): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyView.d.ts","sourceRoot":"","sources":["../../../../src/components/header/StickyView.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAO,EAGL,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAUtB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"StickyView.d.ts","sourceRoot":"","sources":["../../../../src/components/header/StickyView.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAO,EAGL,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAUtB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;CACzC,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,qBAsDvE"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ import useCollapsibleContext from '../hooks/useCollapsibleContext';
|
|
|
13
13
|
import CollapsibleHeaderConsumer from './header/CollapsibleHeaderConsumer';
|
|
14
14
|
|
|
15
15
|
type Props = Omit<ViewProps, 'ref' | 'onLayout'> & {
|
|
16
|
-
children:
|
|
16
|
+
children: React.ReactNode;
|
|
17
17
|
KeyboardAvoidingViewComponent?: typeof KeyboardAvoidingView;
|
|
18
18
|
keyboardAvoidingViewProps?: KeyboardAvoidingViewProps;
|
|
19
19
|
textInputRefs?: any[];
|