function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham Sinha 49Shubham Sinha 49 

Lightning Component attributes

I have created a mockup UI with lightning component.
User-added imagehere i want to show the differnet modals if I click on Share Health info or Patient Service/Marketing. these two are the "Types" of related object(Consent) of Account.

how to pass the attribute of types show that if i click modals will open for the different types.
Please help