1uphealth / fhir-react

FHIR React Component Library
MIT License
99 stars 30 forks source link

[PATIENTAPP-139] Move the 'Raw' data button to inside the patient card #355

Closed daria-lasecka closed 2 years ago

daria-lasecka commented 2 years ago

Issue: PATIENTAPP-139


PR Checklist

Why are these changes needed?

Need to move 'Raw' data button inside Component if possible

What changed?

Moved 'Raw' data button and its functionality inside the accordion. Added 'rawOnClick' param to all components, allowing to pass its function from ResourceContainer. Add example of aways visible and hidden 'raw' buttons to ResourceCategory.

How are these changes tested?