mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:09 +01:00
17 lines
385 B
TypeScript
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>
|
|
);
|
|
}
|