mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-06 14:01:30 +08:00
Co-authored-by: gujiaming <52187003+AtomsH4@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: kangfenmao <kangfenmao@qq.com> Signed-off-by: gujiaming <52187003+AtomsH4@users.noreply.github.com>
17 lines
282 B
Plaintext
17 lines
282 B
Plaintext
{
|
|
"Function component": {
|
|
"prefix": "rnfc",
|
|
"body": [
|
|
"import { FC } from 'react'",
|
|
"",
|
|
"const $1: FC = () => {",
|
|
" return <div></div>",
|
|
"}",
|
|
"",
|
|
"export default $1",
|
|
""
|
|
],
|
|
"description": "Function component"
|
|
}
|
|
}
|