0

I have a Sitecore JSS React app setup and using Material UI as the UI framework for styling and React components.

I want to know how to get the Sitecore field value in a material-ui component OR if there is a way to apply Material-UI styles to the Sitecore components.

Please see screenshot attached for more clarity.

Quick help/response is appreciated.

enter image description here

Sorry, I was able to get the field value like shown below. BUT, now the thing is the Material-UI component will not be editable in experience editor enter image description here

Hence I would want to know if there is a way to make material-ui component editable or in the worst case is there a way to get the Sitecore component use Material-UI styles?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.