lostplaces-frontend/components/01_Atoms/input/input.config.json

28 lines
636 B
JSON

{
"context": {
"label": "Enter your value here",
"placeholder": "A sample value"
},
"variants": [
{
"name": "With message",
"context":{
"message": "Please fill in anything valuable"
}
},
{
"name": "disabled",
"context": {
"modifier": "--disabled",
"disabled": true
}
},
{
"name": "error",
"context": {
"modifier": "--error",
"message": "This field is required"
}
}
]
}