mirror of
https://github.com/lingble/twenty.git
synced 2025-11-26 10:54:53 +00:00
* remaining UI docs * completed ui component docs --------- Co-authored-by: Charles Bochet <charles@twenty.com>
17 lines
413 B
JavaScript
17 lines
413 B
JavaScript
import { RoundedLink } from "@/ui/navigation/link/components/RoundedLink";
|
|
import { BrowserRouter as Router } from "react-router-dom";
|
|
|
|
export const MyComponent = () => {
|
|
const handleLinkClick = (event) => {
|
|
console.log("Contact link clicked!", event);
|
|
};
|
|
|
|
return (
|
|
<Router>
|
|
<RoundedLink href="/contact" onClick={handleLinkClick}>
|
|
Contact Us
|
|
</RoundedLink>
|
|
</Router>
|
|
);
|
|
};
|