EntranceButton
Specialized button for usage in lottery/sport lobbies and heroes.
Basic usage
Setting color
The button is designed to inherit its text color from the current color. This makes it easier to colorize multiple
buttons at once. The subText
will also fall back to the same color, but can be overridden by specifying a color in
the twSubTextColor
-prop.
In the following example the text color (text-petroleum
) is set in the parent container. Notice how the first
subtext of 50 kr
is overridden to use the text-pebble
color.
Lotto example
Force same height Example
In the following example all the buttons have the same height, even if the subText
are empty.
Achieved by setting the prop tall=true
.