webstorm 代码块

2022-10-21  本文已影响0人  _海角_
/**
 * @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,
        },
    });
上一篇下一篇

猜你喜欢

热点阅读