24 lines
525 B
TypeScript
24 lines
525 B
TypeScript
'use client';
|
||
|
||
import { useFormStore } from '@/store/ius/form';
|
||
import { Button } from 'ui';
|
||
|
||
export function Buttons() {
|
||
const { reset } = useFormStore();
|
||
|
||
return (
|
||
<div className="grid grid-cols-1 gap-2 gap-x-4 md:grid-cols-3">
|
||
<Button
|
||
intent="outline-danger"
|
||
onClick={() => {
|
||
reset();
|
||
}}
|
||
>
|
||
Отмена
|
||
</Button>
|
||
<Button intent="secondary">Возврат на доработку</Button>
|
||
<Button>Сохранить</Button>
|
||
</div>
|
||
);
|
||
}
|