mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
refactor(app): migrate the yaml inspector to react [EE-5356] (#10058)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
23295d2736
commit
0f6607e703
14 changed files with 98 additions and 112 deletions
|
@ -56,6 +56,7 @@ interface Props {
|
|||
readonly?: boolean;
|
||||
hideTitle?: boolean;
|
||||
error?: string;
|
||||
height?: string;
|
||||
}
|
||||
|
||||
export function WebEditorForm({
|
||||
|
@ -68,6 +69,7 @@ export function WebEditorForm({
|
|||
yaml,
|
||||
children,
|
||||
error,
|
||||
height,
|
||||
}: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<div>
|
||||
|
@ -98,6 +100,7 @@ export function WebEditorForm({
|
|||
yaml={yaml}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
height={height}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue