From c4557d82c6d02e07fe20b8cdf10770c8effd62dd Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Tue, 17 Sep 2024 23:07:46 +0300 Subject: [PATCH] (feat) Add patient registration pictogram (#1150) * (feat) Add patient registration pictogram * Docs --- packages/framework/esm-framework/docs/API.md | 10 ++++++++++ .../src/pictograms/pictogram-registration.ts | 2 ++ .../esm-styleguide/src/pictograms/pictograms.tsx | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/packages/framework/esm-framework/docs/API.md b/packages/framework/esm-framework/docs/API.md index 8e989a4a3..2cddfa91d 100644 --- a/packages/framework/esm-framework/docs/API.md +++ b/packages/framework/esm-framework/docs/API.md @@ -1767,6 +1767,16 @@ ___ ___ +### RegistrationPictogram + +• `Const` **RegistrationPictogram**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`PictogramProps`](API.md#pictogramprops) & `RefAttributes`<`SVGSVGElement`\>\>\> + +#### Defined in + +[packages/framework/esm-styleguide/src/pictograms/pictograms.tsx:66](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/pictograms/pictograms.tsx#L66) + +___ + ### RenewIcon • `Const` **RenewIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\> diff --git a/packages/framework/esm-styleguide/src/pictograms/pictogram-registration.ts b/packages/framework/esm-styleguide/src/pictograms/pictogram-registration.ts index 04e4a0494..c081591cb 100644 --- a/packages/framework/esm-styleguide/src/pictograms/pictogram-registration.ts +++ b/packages/framework/esm-styleguide/src/pictograms/pictogram-registration.ts @@ -4,6 +4,7 @@ import laboratory from './svgs/Labs.svg'; import appointments from './svgs/Appointments-2.svg'; import patientLists from './svgs/Patient Management_Patients.svg'; import serviceQueues from './svgs/service-queues.svg'; +import patientRegistration from './svgs/registration.svg'; export function setupPictograms() { addSvg('omrs-pict-home', home); @@ -11,4 +12,5 @@ export function setupPictograms() { addSvg('omrs-pict-patient-lists', patientLists); addSvg('omrs-pict-appointments', appointments); addSvg('omrs-pict-service-queues', serviceQueues); + addSvg('omrs-pict-registration', patientRegistration); } diff --git a/packages/framework/esm-styleguide/src/pictograms/pictograms.tsx b/packages/framework/esm-styleguide/src/pictograms/pictograms.tsx index 086f01e42..cf499e5c1 100644 --- a/packages/framework/esm-styleguide/src/pictograms/pictograms.tsx +++ b/packages/framework/esm-styleguide/src/pictograms/pictograms.tsx @@ -62,3 +62,9 @@ export const LaboratoryPictogram = memo( return ; }), ); + +export const RegistrationPictogram = memo( + forwardRef(function RegistrationPictogram(props, ref) { + return ; + }), +);