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:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user