File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const ${1:${TM_FILENAME_BASE}}: VoidComponent<{$2}> = (props) => {
125125</details ></td ></tr >
126126      <tr> 
127127        <td><code>scompi→</code></td> 
128-         <td>Solid empty function componen . With Importst </td> 
128+         <td>Solid empty function component . With Imports </td> 
129129        <td><b>tsx</b></td> 
130130      </tr> 
131131      <tr><td colspan="3"><details> 
@@ -140,6 +140,26 @@ const ${1:${TM_FILENAME_BASE}}: Component<{$2}> = (props) => {
140140};
141141``` 
142142
143+ </details ></td ></tr >
144+       <tr> 
145+         <td><code>scompie→</code></td> 
146+         <td>Solid empty function component. With Imports and default export</td> 
147+         <td><b>tsx</b></td> 
148+       </tr> 
149+       <tr><td colspan="3"><details> 
150+       <summary><sup>Toggle Code Snippet</sup></summary> 
151+ 
152+ ``` tsx 
153+ import  { Component  } from  " solid-js" 
154+ 
155+ const : $ {TM_FILENAME_BASE}}: Component < {$2 }>  =  (props ) =>  {
156+   $0 
157+   return  <div ></div >;
158+ };
159+ 
160+ export  default  $ {1 :$ {TM_FILENAME_BASE }};
161+ ``` 
162+ 
143163</details ></td ></tr >
144164      <tr> 
145165        <td><code>spcompi→</code></td> 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments