import React from "react";
import PropTypes from "prop-types";
const componentName = props => {
  return <div />;
};
componentName.propTypes = {};
componentName.defaultProps = {};
export default componentName;"React Functional Component": {
    "prefix": "RFC",
    "body": [
      "import React from 'react';",
      "import PropTypes from 'prop-types'",
      "",
      "const componentName = (props) => {",
      "  return (<div></div>)",
      "}",
      "",
      "componentName.propTypes = {};",
      "",
      "componentName.defaultProps = {};",
      "",
      "export default componentName;"
    ],
    "description": "React Functional Component"
  }
import React from 'react';
import { shallow } from 'enzyme';
describe('Component Test', () => {
  it('renders without crashing', () => {
    shallow(<COMPONENT />);
  });
  it('renders with snapshot correctly', () => {
    const wrapper = shallow(<COMPONENT />);
    expect(wrapper).toMatchSnapshot();
  });
});"React Snapshot Test Component": {
    "prefix": "RSTC",
    "body": [
      "import React from 'react';",
      "import { shallow } from 'enzyme';",
      "",
      "describe('Component Test', () => {",
      "  it('renders without crashing', () => {",
      "    shallow(<COMPONENT />);",
      "  });",
      "  it('renders with snapshot correctly', () => {",
      "    const wrapper = shallow(<COMPONENT />);",
      "    expect(wrapper).toMatchSnapshot();",
      "  });",
      "});",
      ""
    ],
    "description": "React Snapshot test component"
  }