美文网首页
webstorm 代码块

webstorm 代码块

作者: _海角_ | 来源:发表于2022-10-21 15:31 被阅读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,
            },
        });
    

    相关文章

      网友评论

          本文标题:webstorm 代码块

          本文链接:https://www.haomeiwen.com/subject/skrmzrtx.html