import React from "react"; interface LabeledButtonProps { label: string; // Label for the button onClick?: () => void; // Function to call when the button is clicked disabled?: boolean; // Optional prop to disable the button value?: string; } const LabeledButton: React.FC = ({ label, onClick, disabled = false, value = "Click here", }) => { return (
{label}
); }; export default LabeledButton;