Refactor buttons (#1257)
* Refactor buttons * Complete components creation * Complete refactoring * fix lint * Complete button work
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { IconButton } from '@/ui/button/components/IconButton';
|
||||
import { FloatingIconButton } from '@/ui/button/components/FloatingIconButton';
|
||||
import { IconPencil } from '@/ui/icon';
|
||||
|
||||
import { useEditableField } from '../hooks/useEditableField';
|
||||
@ -11,11 +11,10 @@ export function EditableFieldEditButton() {
|
||||
}
|
||||
|
||||
return (
|
||||
<IconButton
|
||||
variant="shadow"
|
||||
<FloatingIconButton
|
||||
size="small"
|
||||
onClick={handleClick}
|
||||
icon={<IconPencil size={14} />}
|
||||
icon={<IconPencil />}
|
||||
data-testid="editable-field-edit-mode-container"
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user