Develop a simple web-based code editor using React, with syntax highlighting capabilities provided by PrismJS.
- Text Input: Users can input and edit code in a textarea element.
- Syntax Highlighting: The inputted code will be automatically highlighted using PrismJS.
- Language Support: Initial support for JavaScript with potential to extend to other languages.
- Frontend Framework: React
- Syntax Highlighting: PrismJS and prism-react-renderer
- Styling: CSS
- CodeEditor Component:
- Handles user input via a textarea.
- Displays syntax-highlighted code using PrismJS.