@momo-kits/foundation 0.102.1-beta.3 → 0.102.1-beta.4

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.
@@ -242,9 +242,9 @@ export type FloatingButtonProps = {
242
242
 
243
243
  export type AnimatedDefaultType = {
244
244
  type: 'default' | 'surface';
245
- component?: (props?: {animatedValue: Animated.Value}) => React.ReactElement;
245
+ component?: (props: {animatedValue: Animated.Value}) => React.ReactElement;
246
246
  headerTitle?: (
247
- props?: StackHeaderTitleProps & {animatedValue: Animated.Value}
247
+ props: StackHeaderTitleProps & {animatedValue: Animated.Value}
248
248
  ) => React.ReactElement;
249
249
  };
250
250
 
package/Layout/Screen.tsx CHANGED
@@ -263,7 +263,7 @@ const Screen = forwardRef(
263
263
  animatedValue={animatedValue.current}
264
264
  />
265
265
  ),
266
- headerTitle: (props: any) => (
266
+ headerTitle: props => (
267
267
  <HeaderTitle {...props} animatedValue={animatedValue.current} />
268
268
  ),
269
269
  };
@@ -281,7 +281,7 @@ const Screen = forwardRef(
281
281
  animatedValue={animatedValue.current}
282
282
  />
283
283
  ),
284
- headerTitle: (props: any) => (
284
+ headerTitle: props => (
285
285
  <HeaderTitle
286
286
  {...props}
287
287
  animatedValue={
@@ -296,7 +296,7 @@ const Screen = forwardRef(
296
296
  if (animatedHeader.headerTitle) {
297
297
  options = {
298
298
  ...options,
299
- headerTitle: (props: any) =>
299
+ headerTitle: props =>
300
300
  animatedHeader.headerTitle?.({
301
301
  ...props,
302
302
  animatedValue: animatedValue.current,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.102.1-beta.3",
3
+ "version": "0.102.1-beta.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},