mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Add dependencies for code mirror editor
This commit is contained in:
parent
1f06f01645
commit
5d0a5fd233
|
@ -28,6 +28,8 @@ This readme file is used mostly to document project dependencies
|
||||||
- react-error-boundary
|
- react-error-boundary
|
||||||
- reagraph
|
- reagraph
|
||||||
- react-tooltip
|
- react-tooltip
|
||||||
|
- @uiw/react-codemirror
|
||||||
|
- @uiw/codemirror-themes
|
||||||
</pre>
|
</pre>
|
||||||
</details>
|
</details>
|
||||||
<details>
|
<details>
|
||||||
|
|
1062
rsconcept/frontend/package-lock.json
generated
1062
rsconcept/frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -11,6 +11,8 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@uiw/codemirror-themes": "^4.21.9",
|
||||||
|
"@uiw/react-codemirror": "^4.21.9",
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
"js-file-download": "^0.4.12",
|
"js-file-download": "^0.4.12",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
|
|
|
@ -12,7 +12,7 @@ extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className'> {
|
||||||
function TextArea({
|
function TextArea({
|
||||||
id, label, required,
|
id, label, required,
|
||||||
widthClass = 'w-full',
|
widthClass = 'w-full',
|
||||||
colorClass = 'colorClass',
|
colorClass = 'clr-input',
|
||||||
rows = 4,
|
rows = 4,
|
||||||
...props
|
...props
|
||||||
}: TextAreaProps) {
|
}: TextAreaProps) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user