import { Icon } from "../../components";
import { Button } from "../../antd-bootstrap";
interface Props {
refresh: () => void;
}
export const MediaViewerButtonBar: React.FC<Props> = ({ refresh }: Props) => {
return (
<div style={{ padding: "0 1px" }}>
<Button
title={"Reload this, showing the latest version on disk."}
onClick={refresh}
>
<Icon name={"repeat"} /> Reload
</Button>
</div>
);
};