text input: make name optional, custom class support

This commit is contained in:
end committed 2025-07-03 14:17:16 -07:00
1 parent 06c1b9cb0b
commit 723fc4ee48
2 files changed
+26 -16

No files matched your search

+2 -2
View File
@@ -117,8 +117,8 @@
<div class="component">
<p class="title">Styled Raw Input, Text Input</p>
<StyledRawInput name="example-raw-input" placeholder="Type here..." />
<TextInput name="example-text-input" placeholder="Enter text..." />
<StyledRawInput placeholder="Type here..." />
<TextInput label="Write something here" placeholder="Enter text..." />
</div>
<div class="component">