1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-20 04:23:16 +00:00

Add Makefile and docker-compose for local setup

This commit is contained in:
2025-07-01 13:07:42 +02:00
parent 9201a9c02c
commit 2dc2b8cf44
5 changed files with 94 additions and 3 deletions
+8 -2
View File
@@ -109,8 +109,14 @@ export default function App() {
options={{ minimap: { enabled: false } }}
/>
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
<input type="file" accept=".xml" onChange={(e) => loadFile(e, (text) => updateParam(i, 'value', text))} />
<button onClick={() => download(p.value, `${p.name || "param"}.xml`)}>Download</button>
<input
type="file"
accept=".xml"
onChange={(e) => loadFile(e, (text) => updateParam(i, 'value', text))}
/>
<button onClick={() => download(p.value, `${p.name || 'param'}.xml`)}>
Download
</button>
</div>
</div>
)