Files
OneOS-V2/.agents/skills/stitch-react-native/resources/component-template.tsx
2026-07-29 16:04:39 +08:00

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;