Easy Snippets
使用
创建格式
YAML 格式填写一些必要属性
---
title: React Hooks Component
description: Generate react hooks component
prefix: rhc
---
import React, { useState, useEffect } from 'react';
function ${componentName} () {
useEffect(() => {});
return (
<>
</>
)
}
export default ${componentName}
管理 snippets
Command
Esnp: Set workspace folder
Esnp: Sync
Esnp: Sync All
Esnp: Create easy-snippets file
| |