Integrating demo1's Description input box into React code
I'd like to integrate the Description input box in demo1/dist/apps/ecommerce/catalog/add-product.html into my React tsx page. However there is no demo JS code for this. What is the right way to do this in JS? Thanks.
The example page you are viewing is the HTML version. You can get the example JS files in this path.
The JS file is for demo purposes only. For your case, you have to customize based on your requirements.
Thank you Faizal for your reply. I just found the ReactJS version of demo1 was a reduced one from the html version
Thank you for your interest in Metronic.
Some pages from the HTML version might not exist in React. But the CSS styles from the HTML version are already been integrated into React. All the components from the HTML version are static and non-working components. You can just copy the component HTML from the HTML version, and paste it into the React component to get the same look. The actual functionality and implementation need to be done by the customer because every customer has its own business requirements.
By default, those jQuery-based features are not available in the React version. So we will skip any components related to it. For example is KTDatatable, select2, etc.
Let us know if you need further clarifications.