You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s good that you can change the svg, but we are tied to the size of the svg, since by default it is displayed with dimensions of 40x40. And in general, we are tied to the svg element.
It is necessary to take into account the option that a person wants to style the buttons (arrows) at his own discretion; he can indicate his own svg in the css through the background-image, or not use the svg at all.
It is clear that we can hide the default svg through the display: none, but I would like the svg not to be displayed in HTML at all if arrowPath is specified: false
Or any other parameter that meant that there was no need to display an svg icon in the button.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
It’s good that you can change the svg, but we are tied to the size of the svg, since by default it is displayed with dimensions of 40x40. And in general, we are tied to the svg element.
It is necessary to take into account the option that a person wants to style the buttons (arrows) at his own discretion; he can indicate his own svg in the css through the background-image, or not use the svg at all.
It is clear that we can hide the default svg through the display: none, but I would like the svg not to be displayed in HTML at all if arrowPath is specified: false
Or any other parameter that meant that there was no need to display an svg icon in the button.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions