import React from 'react'; import { ArrowLeft } from 'lucide-react'; import { Link } from 'react-router-dom'; const ToolLayout = ({ title, description, children, icon: Icon }) => { return (
{/* Header */}
Back to Tools
{Icon && }

{title}

{description && (

{description}

)}
{/* Tool Content */}
{children}
); }; export default ToolLayout;