We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 973cf96 + 5b71210 commit 16c414eCopy full SHA for 16c414e
packages/textfield/README.md
@@ -14,7 +14,21 @@ npm install --save-dev @smui/textfield
14
15
# Basic Usage
16
17
-todo...
+```html
18
+<script>
19
+ import Textfield from '@smui/textfield'
20
+
21
+ export let name = '';
22
+ export let email = '';
23
+ export let comment = '';
24
+</script>
25
26
+<Textfield bind:value={name} label="Name" />
27
+<br />
28
+<Textfield type="email" bind:value={email} label="Email" input$autocomplete="email">
29
30
+<Textfield textarea bind:value={comment} label="Comment" />
31
+```
32
33
# Demo
34
0 commit comments