File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 652652 "reactFunctionalCompomentRedux" : {
653653 "prefix" : " rfcredux" ,
654654 "body" : [
655- " import React, { Component } from 'react'" ,
655+ " import React from 'react'" ,
656656 " import { connect } from 'react-redux'" ,
657657 " " ,
658- " export const ${1:${TM_FILENAME_BASE}} = () => {" ,
658+ " export const ${1:${TM_FILENAME_BASE}} = (props ) => {" ,
659659 " \t return (" ,
660660 " \t\t <div>" ,
661661 " \t\t\t $0" ,
679679 "reactFunctionalCompomentReduxPropTypes" : {
680680 "prefix" : " rfcreduxp" ,
681681 "body" : [
682- " import React, { Component } from 'react'" ,
682+ " import React from 'react'" ,
683683 " import PropTypes from 'prop-types'" ,
684684 " import { connect } from 'react-redux'" ,
685685 " " ,
686- " export const ${1:${TM_FILENAME_BASE}} = () => {" ,
686+ " export const ${1:${TM_FILENAME_BASE}} = (props ) => {" ,
687687 " \t return (" ,
688688 " \t\t <div>" ,
689689 " \t\t\t $0" ,
You can’t perform that action at this time.
0 commit comments