/** * Button component to display a button with text and onClick function. * * @param {Object} props - The component props. * @param {string} props.text - The text to display on the button. * @param {Function} props.onClick - The function to run when the button is clicked. * @param {"submit" | "button" | "reset"} props.type - The type of button. * @returns {JSX.Element} The rendered Button component. */ function Button({ text, onClick, type, }: { text: string; onClick: () => void; type: "submit" | "button" | "reset"; }): JSX.Element { return ( ); } export default Button;