mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
add code editor
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import CodeEditor from '../components/CodeEditor';
|
||||
|
||||
export default function ThemeCreator() {
|
||||
const handleSave = (value: string) => {
|
||||
// Save the theme
|
||||
console.log(value)
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='w-full h-full'>
|
||||
<CodeEditor initialState={'.hi {}'} callback={handleSave} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user