add day 8
This commit is contained in:
10
day8/src/components/textInput.ts
Normal file
10
day8/src/components/textInput.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const TextInput = () => {
|
||||
return `
|
||||
<div class="mb-2">
|
||||
<h2 class="text-xl font-semibold text-center">Input is: {appState.contents.text}</h2>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<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="text" />
|
||||
</div>
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user