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
Sami MSami M 

Build Reusable Lightning Components Build Lightning components for any object, with the help of custom metadata and Apex.

AbhishekAbhishek (Salesforce Developers) 
I hope this answers your query,

https://guhasdevforce.wordpress.com/2020/08/01/build-highly-flexible-lightning-components-using-custom-metadata-types/


if it helps mark this as the Best answer.

Thanks.