first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Text input. Pairs with the validation system (name maps to a field).
|
||||
component Input {
|
||||
props {
|
||||
type = "text"
|
||||
name = ""
|
||||
value = ""
|
||||
placeholder = ""
|
||||
class = ""
|
||||
}
|
||||
view {
|
||||
<input type="{type}" name="{name}" value="{value}" placeholder="{placeholder}" class="wire-input {class}">
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user