Skip to content

Commit

Permalink
(fix) Fixup IconButton props
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Aug 12, 2024
1 parent 190cf27 commit 01bf937
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1,138 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,9 @@
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
"*.{css,scss,ts,tsx}": "prettier --write --list-different"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"resolutions": {
"@openmrs/openmrs-form-engine-lib": "portal:/Users/denniskigen/Code/openmrs/openmrs-form-engine-lib",
"@carbon/react": ">1.47.0 <1.50.0"
}
}
2 changes: 1 addition & 1 deletion src/components/dashboard/dashboard.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function ActionButtons({ form, mutate, responsiveSize, t }: ActionButtonsProps)
<IconButton
align="center"
enterDelayMs={defaultEnterDelayInMs}
iconDescription={t('import', 'Import')}
label={t('import', 'Import')}
kind="ghost"
onClick={() => navigate({ to: `${window.spaBase}/form-builder/edit/${form.uuid}` })}
size={responsiveSize}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ const InteractiveBuilder: React.FC<InteractiveBuilderProps> = ({
</div>
<IconButton
enterDelayMs={300}
label={t('deletePage', 'Delete page')}
kind="ghost"
label={t('deletePage', 'Delete page')}
onClick={() => launchDeletePageModal(pageIndex)}
size="md"
>
Expand Down
Loading

0 comments on commit 01bf937

Please sign in to comment.