Bereaksi Router Link Eksternal
<Link to={{ pathname: "https://example.zendesk.com/hc/en-us/articles/123456789-Privacy-Policies" }} target="_blank" />
Tasi
<Link to={{ pathname: "https://example.zendesk.com/hc/en-us/articles/123456789-Privacy-Policies" }} target="_blank" />
import { Link } from 'react-router-dom';
<Link
to={{
pathname: "/courses",
search: "?sort=name",
hash: "#https://api.alat.ng/RegistrationApi/index.html",
state: { fromDashboard: true }
}}
/>
import React from "react";
import ReactDOM from "react-dom";
import { createBrowserHistory } from "history";
const customHistory = createBrowserHistory();
ReactDOM.render(<Router history={customHistory} />, node);