From 7787ef8c369335452b2af6cc3c34e4509bb9afa0 Mon Sep 17 00:00:00 2001 From: Vineet Sharma Date: Fri, 6 Dec 2024 16:13:58 +0530 Subject: [PATCH] (feat) Add mocks for MaybeIcon and MaybePictogram (#1227) --- packages/framework/esm-styleguide/mock.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/framework/esm-styleguide/mock.tsx b/packages/framework/esm-styleguide/mock.tsx index 407e4357c..8dfdcf13a 100644 --- a/packages/framework/esm-styleguide/mock.tsx +++ b/packages/framework/esm-styleguide/mock.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import { Pictogram } from './src'; export const ActivityIcon = () =>
ActivityIcon
; export const AddIcon = () =>
AddIcon
; @@ -87,6 +88,8 @@ export const PatientListsPictogram = () =>
PatientListsPictogram
; export const ServiceQueuesPictogram = () =>
ServiceQueuesPictogramPictogram
; export const LabOrderIcon = () =>
LabOrderIcon
; export const GenericOrderTypeIcon = () =>
GenericOrderTypeIcon
; +export const MaybeIcon = ({ icon }) =>
{icon}
; +export const MaybePictogram = ({ pictogram }) =>
{pictogram}
; export { PageHeader, PageHeaderContent } from './src/page-header/page-header.component';