Skip to content

Commit

Permalink
feat (frontend): Add icon position to save button in edit title compo…
Browse files Browse the repository at this point in the history
…nent
  • Loading branch information
TijnvdK committed Oct 26, 2024
1 parent 3d320d4 commit 874e42a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ const EditTitle: FC<EditTitleProps> = ({ title, onSave }) => {
/>
</Form.Item>
<Form.Item>
<Button icon={<SaveOutlined />} type='primary' htmlType='submit'>
<Button icon={<SaveOutlined />} iconPosition='end' type='primary' htmlType='submit'>
Save
</Button>
</Form.Item>
</Form>
: <Button
className='custom-default-button'
className='custom-default-button border-none'
icon={<EditOutlined />}
iconPosition='end'
onClick={() => {
setEditing(true);
}}
Expand Down

0 comments on commit 874e42a

Please sign in to comment.