Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzanyiz committed Jan 30, 2024
2 parents e382ff2 + d1bf364 commit dafaf0f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/card/index.tsx
@@ -1,6 +1,6 @@
import _ from 'lodash';
import React, {PureComponent} from 'react';
import {StyleSheet, Animated, ViewStyle} from 'react-native';
import {StyleSheet, Animated, StyleProp, ViewStyle} from 'react-native';
import {Colors, BorderRadiuses} from '../../style';
// import {PureBaseComponent} from '../../commons';
import {Constants, asBaseComponent, forwardRef, BaseComponentInjectedProps, ForwardRefInjectedProps, MarginModifiers} from '../../commons/new';
Expand Down Expand Up @@ -78,7 +78,7 @@ export type CardProps = ViewProps &
/**
* Additional styles for the top container
*/
containerStyle?: ViewStyle;
containerStyle?: StyleProp<ViewStyle>;
/**
* Adds visual indication that the card is selected
*/
Expand Down
4 changes: 2 additions & 2 deletions src/components/tabController/index.tsx
Expand Up @@ -5,13 +5,13 @@ import {useAnimatedReaction, useSharedValue, withTiming, runOnJS} from 'react-na
import {useOrientation, useThemeProps} from '../../hooks';
import {Constants} from '../../commons/new';
import TabBarContext from './TabBarContext';
import TabBar from './TabBar';
import TabBar, {TabControllerBarProps} from './TabBar';
import TabBarItem, {TabControllerItemProps} from './TabBarItem';
import TabPage from './TabPage';
import PageCarousel from './PageCarousel';
import useImperativeTabControllerHandle, {TabControllerImperativeMethods} from './useImperativeTabControllerHandle';

export {TabControllerItemProps, TabControllerImperativeMethods};
export {TabControllerBarProps, TabControllerItemProps, TabControllerImperativeMethods};

interface TabControllerStatics {
TabBar: typeof TabBar;
Expand Down
5 changes: 4 additions & 1 deletion src/components/touchableOpacity/index.tsx
Expand Up @@ -10,7 +10,8 @@ import {
forwardRef,
BaseComponentInjectedProps,
ForwardRefInjectedProps,
ContainerModifiers
ContainerModifiers,
BackgroundColorModifier
} from '../../commons/new';
import {RecorderProps} from '../../typings/recorderTypes';
import IncubatorTouchableOpacity from '../../incubator/TouchableOpacity';
Expand All @@ -19,6 +20,7 @@ import {ViewProps} from '../view';
export interface TouchableOpacityProps
extends Omit<RNTouchableOpacityProps, 'style' | 'onPress' | 'onPressIn' | 'onPressOut' | 'onLongPress'>,
ContainerModifiers,
BackgroundColorModifier,
RecorderProps {
/**
* background color for TouchableOpacity
Expand Down Expand Up @@ -59,6 +61,7 @@ export interface TouchableOpacityProps
onLongPress?: (
props?: (TouchableOpacityProps & {event: GestureResponderEvent}) | any
) => void | RNTouchableOpacityProps['onLongPress'];
nativeID?: string;
}

type Props = BaseComponentInjectedProps & ForwardRefInjectedProps & TouchableOpacityProps;
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -143,6 +143,7 @@ export {default as Switch, SwitchProps} from './components/switch';
export {
default as TabController,
TabControllerProps,
TabControllerBarProps,
TabControllerItemProps,
TabControllerImperativeMethods
} from './components/tabController';
Expand Down

0 comments on commit dafaf0f

Please sign in to comment.