import type { RefreshButtonProps } from "./types";

function RefreshButton({setRefresh}: RefreshButtonProps) {
    return (
        <button className="refresh-btn" onClick={() => setRefresh()}>Refresh</button>
    )
}

export default RefreshButton;