reactArrowFunctionComponent

    0

    34

    lucycodes42

    JavaScript snippets for React

    This code imports React and exports a function that returns a <div> element with the text "first".

    Library: react

    Shortcut: rafc

    import React from 'react';
    
    export const ${1:filename} = () => {
      return (
        <div>first</div>
      )
    }
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.