In my opinion, it's best to leave the responsibility to customize the view of a non-input element and where the model value is placed with the consumer of the library.
Some examples that I can think of where the custom implementation will come in handy are as follows:
The same effect can also be achieved by doing something as follows:
Non-Input Element:
In my opinion, it's best to leave the responsibility to customize the view of a non-input element and where the model value is placed with the consumer of the library.
Some examples that I can think of where the custom implementation will come in handy are as follows: