Mohsin Memon
Mohsin Memon
i have the same issue here
I got how to add snippets I will send the code sample once I open my pc. It's pretty straightforward.
I made a codesandbox demo for you on how to add Snippets : https://codesandbox.io/s/react-acesnippets-sk2uq?file=/src/App.js
Tell me if it was helpful.
If u get an error like unexpected token < . in code sandbox. Just reload it | close the error. It is just an issue with code sandbox !!!
I don't know why the problem occurs.for me it worked . I will check it out one again Try it your app. I sure it will work.
I will try to fix the codesandbox issue. So that anyone who has the problem can refer to it . For now u can just copy the code and try...
Try typing double underscore (__) in the editor u will see a snippet named info. It will work .
Then just press enter
Let me know if it worked