25 lines
498 B
TypeScript
25 lines
498 B
TypeScript
import React from 'react';
|
|
import { View, StyleSheet } from 'react-native';
|
|
|
|
export interface StitchComponentProps {
|
|
readonly children?: React.ReactNode;
|
|
readonly testID?: string;
|
|
}
|
|
|
|
export const StitchComponent: React.FC<StitchComponentProps> = ({
|
|
children,
|
|
testID,
|
|
}) => {
|
|
return (
|
|
<View style={styles.container} testID={testID} accessibilityRole="none">
|
|
{children}
|
|
</View>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {},
|
|
});
|
|
|
|
export default StitchComponent;
|