Skip to main content

TouchableSurface

API documentation for the React Native TouchableSurface component. Learn about the available props.

Import#

import { TouchableSurface } from "@react-native-material/core";// orimport TouchableSurface from "@react-native-material/core/TouchableSurface";

Props#

interface TouchableSurfaceProps extends Omit<TouchableProps, "style"> {  category?: ShapeCategory | undefined;
  absoluteSize?: boolean | undefined;
  style?: Animated.AnimatedProps<ViewProps>["style"] | undefined;
  containerStyle?: StyleProp<ViewStyle> | undefined;
  touchableStyle?: StyleProp<ViewStyle> | undefined;
  innerStyle?: StyleProp<ViewStyle> | undefined;}