Limit
public enum Limit
Limit is a enum that represents limits values for the NatBadge component.
These are the allowed limits for a NatBadge:
- max9: if the value exceeds 9, it shows 9+
- max99: if the value exceeds 99, it shows 99+
unlimited: it shows the exact set value
Requires
It’s necessary to configure the Design System with a theme or fatalError will be raised.
DesignSystem().configure(with: AvailableTheme)