Skip to content

Commit

Permalink
(fix) O3-2757: Change all anchor tag cursors from text to pointer typ…
Browse files Browse the repository at this point in the history
…e. (#1604)

Co-authored-by: Vineet Sharma <sharmava05@gmail.com>
  • Loading branch information
Pradipram and vasharma05 committed Jan 23, 2024
1 parent 228465c commit 24fa71c
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next';
import { EmptyDataIllustration } from './empty-data-illustration.component';
import { useLayoutType } from '@openmrs/esm-framework';
import styles from './empty-state.scss';
import { Button } from '@carbon/react';

export interface EmptyStateProps {
displayText: string;
Expand All @@ -29,13 +30,9 @@ export const EmptyState: React.FC<EmptyStateProps> = (props) => {
</p>
<p className={styles.action}>
{props.launchForm && (
<span>
<Link onClick={() => props.launchForm()}>
<>
{t('record', 'Record')} {props.displayText.toLowerCase()}
</>
</Link>
</span>
<Button onClick={() => props.launchForm()} kind="ghost" size={isTablet ? 'lg' : 'sm'}>
{t('record', 'Record')} {props.displayText.toLowerCase()}
</Button>
)}
</p>
</Tile>
Expand Down

0 comments on commit 24fa71c

Please sign in to comment.