Closed
Description
- Create a way to manage attributes in the configs
Describe the solution you'd like
Currently we handle only props
inside of the components
config
.
We think that adding a way to add attributes
there could be helpful for components reuse.
Here is the new Presets feature for all of the components - this could be one of the entry points to add attributes.
One of the possible structures may look this way:
components: {
...
presets: {
VaInput: {
'prime': { attrs: { class: 'highlight-text' }, color: 'primary', },
}
...
}