import React from "react"; import { Button, Space } from "antd"; type UnsavedChangesBarProps = { onRevert: () => void; onApply: () => void; applying?: boolean; }; /** Floating bar shown while a page has edits that are not applied yet */ export default function UnsavedChangesBar(props: UnsavedChangesBarProps) { return