Files
yaak-mountain-loop/src-web/hooks/Confirm.tsx
2023-03-26 12:02:20 -07:00

17 lines
385 B
TypeScript

import { Button } from '../components/core/Button';
import { HStack } from '../components/core/Stacks';
interface Props {
hide: () => void;
}
export function Confirm({ hide }: Props) {
return (
<HStack space={2} justifyContent="end">
<Button color="gray" onClick={hide}>
Cancel
</Button>
<Button color="primary">Confirm</Button>
</HStack>
);
}