2019-07-13 21:35:57 +12:00
|
|
|
<script>
|
|
|
|
// todo: use https://ace.c9.io
|
|
|
|
export let text = "";
|
|
|
|
export let label = "";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div>{label}</div>
|
2019-08-07 20:03:49 +12:00
|
|
|
<textarea class="uk-textarea" bind:value={text}></textarea>
|
2019-07-13 21:35:57 +12:00
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
padding:3px;
|
|
|
|
background: var(--darkslate);
|
|
|
|
color: var(--white);
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
width:95%;
|
|
|
|
height:100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|