1
0
Fork 0
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:
Ali 2023-08-17 22:01:10 +12:00 committed by GitHub
parent 23295d2736
commit 0f6607e703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 98 additions and 112 deletions

View file

@ -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>