BPKBadge
/Backpack.Badge
contains the Backpack Badge component. It has 6 different styles defined in BPKBadgeType
and can contain a message.
#import <Backpack/Badge.h>
BPKBadge *badge = [[BPKBadge alloc] initWithType:BPKBadgeTypeSuccess message:@"Hello Travel"];
import Backpack
let badge = Backpack.Badge(type: .success, message: "Hello Travel")