import { Link } from "react-router-dom"; import { company, whatsappUrl } from "../data"; import "./Primitives.css"; export function Arrow({ diagonal = false }) { return ( ); } export function Action({ children, to, variant = "dark" }) { return ( {children} ); } export function WhatsAppAction({ children = "Talk to us on WhatsApp", variant = "dark", direct = false, }) { const url = whatsappUrl(company.whatsapp); const className = `action action--${variant}`; if (url) return ( {children} ); if (direct) return ( ); return ( {children} ); } export function Eyebrow({ children }) { return

{children}

; } export function SectionHeading({ label, title, children, centered = false }) { return (
{label}

{title}

{children &&
{children}
}
); } export function Textile({ kind = "natural", className = "", caption = true, eager = false, }) { return (
Illustrative knitted texture — not an RRS product photograph {caption && (
Illustrative texture · RRS photography to follow
)}
); } export function PageHero({ label, title, children, texture = "natural" }) { return (
{label}

{title}

{children}
Radhe Radhe Synthetics · Greige knitted fabrics
); }