初始化项目版本
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user