react-native-lamantin
Version:
Set of components for https://lamantin.group development
25 lines (24 loc) • 593 B
TypeScript
import { PureComponent } from 'react';
import { ViewStyle, StyleProp } from 'react-native';
interface ClickableViewProps {
onPress: () => void;
style?: StyleProp<ViewStyle>;
/**
* Use for change opacity for pressed button;
* 0 - transparent
* 1 - visible
*
* default: 0.3
*/
opacity?: number;
disabled?: boolean;
}
export declare class ClickableView extends PureComponent<ClickableViewProps> {
static defaultProps: {
onPress: null;
opacity: number;
disabled: boolean;
};
render(): JSX.Element;
}
export {};