React link react-router-dom

    0

    1

    Jose Romero

    reactlinkreact-router-domβ€’β€’β€’
    React TypeScript Recipes

    This code creates a link that points to the pathname specified. With a className

    Library: react

    Shortcut: react.link.component.use

    import { Link } from 'react-router-dom';
    
    <Link
      to="/pathname"
      className="link"
    >
      link
    </Link>
    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.