12 lines
434 B
TypeScript
12 lines
434 B
TypeScript
export const HtmlInput = () => {
|
|
return `
|
|
<div class="mb-2">
|
|
<h2 class="text-xl font-semibold text-center" d-html>html input is: {appState.contents.html}</h2>
|
|
</div>
|
|
<div class="flex justify-center">
|
|
<div>
|
|
<input placeholder="text..." class="py-2 px-4 resize-none bg-zinc-800 rounded-md shadow-md my-2 border border-zinc-800 placeholder:italic placeholder:text-gray-300" d-model="html" />
|
|
</div>
|
|
</div>
|
|
`
|
|
} |