代码块1
/**
* @author author
* @date $date$
* @time $time$
* @fileName $fileName$
* @Description:
*/
import { Theme, useStr, useStyle, useTheme } from "react-base";
import { StyleSheet, View } from "react-native";
import React, { useCallback, useState } from "react";
interface Props {}
const $TM_FILENAME_BASE$ = (props: Props) => {
const {} = props;
const str = useStr();
const theme = useTheme();
const styles = useStyle(StyleCreator);
return <View style={styles.container}>$END$</View>
};
export default $TM_FILENAME_BASE$;
const StyleCreator = (theme: Theme) =>
StyleSheet.create({
container: {
flex: 1,
},
});
代码块2
const [$a$,set$b$] =useState<$END$>();