Closed jadfls closed 3 years ago
Put this in your mapping.json
{
"components": {
"Spinner": {
"meta": {
"variantGroups": {
"size": {
"galactic": {
"default": false
}
}
}
},
"appearances": {
"default": {
"variantGroups": {
"size": {
"galactic": {
"width": 64,
"height": 64,
"borderRadius": 32,
"borderWidth": 5.5
}
}
}
}
}
}
}
}
Then use like this:
<Spinner size="galactic" />
I tried the above mapping file and I get this error:
Spinner: unsupported configuration. Check one of the following prop values: { "appearance": "default", "variants": [ "primary", "galactic" ], "states": [] }
@exlnt please make sure to follow this guide.
💬 Question
Assuming Spinner size="giant" is too small, how can I customize the spinner with a larger size? Ideally using direct width/height values?
UI Kitten and Eva version