@ornikar/kitt-universal 7.0.0 → 7.0.1

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.
@@ -1,9 +1,8 @@
1
- import type { ReactElement, ReactNode } from 'react';
1
+ import type { ReactElement } from 'react';
2
2
  import type { PressableProps } from 'react-native';
3
3
  interface OverlayProps extends PressableProps {
4
4
  onPress: PressableProps['onPress'];
5
- children?: NonNullable<ReactNode>;
6
5
  }
7
- export declare function Overlay({ onPress, children }: OverlayProps): ReactElement;
6
+ export declare function Overlay({ onPress }: OverlayProps): ReactElement;
8
7
  export {};
9
8
  //# sourceMappingURL=Overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,UAAU,YAAa,SAAQ,cAAc;IAC3C,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC;AAQD,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,YAAY,GAAG,YAAY,CAMzE"}
1
+ {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,UAAU,YAAa,SAAQ,cAAc;IAC3C,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACpC;AAQD,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,YAAY,GAAG,YAAY,CAE/D"}
@@ -1780,12 +1780,10 @@ var OverlayPressable = /*#__PURE__*/styled(Pressable).withConfig({
1780
1780
  });
1781
1781
  });
1782
1782
  function Overlay(_ref2) {
1783
- var onPress = _ref2.onPress,
1784
- children = _ref2.children;
1783
+ var onPress = _ref2.onPress;
1785
1784
  return /*#__PURE__*/jsx(OverlayPressable, {
1786
1785
  accessibilityRole: "none",
1787
- onPress: onPress,
1788
- children: children
1786
+ onPress: onPress
1789
1787
  });
1790
1788
  }
1791
1789