mirror of
https://github.com/anpleenko/sublime-text.git
synced 2026-11-22 22:02:18 +03:00
17 lines
387 B
XML
17 lines
387 B
XML
<snippet>
|
|
<content><![CDATA[
|
|
import React from 'react';
|
|
|
|
const ${1:${TM_FILENAME/(.?\w*)(?:\.\w+)*$/$1/g}} = (props) => {
|
|
return (
|
|
<${2:div}></${2:div}>
|
|
)
|
|
};
|
|
|
|
export default ${1:${TM_FILENAME/(.?\w*)(?:\.\w+)*$/$1/g}};
|
|
]]></content>
|
|
<tabTrigger>rcc</tabTrigger>
|
|
<scope>source.js</scope>
|
|
<description>React: Stateless Functional Component</description>
|
|
</snippet>
|