Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBadgeProps<T>

Badge Properties

Type parameters

  • T

Hierarchy

  • IBaseProps<IBadge>
    • IBadgeProps

Index

Properties

Optional assignTo

assignTo: (obj: IBadge) => void

Assigns the object to the input parameter.

Type declaration

Optional className

className: string

Custom class names.

Optional content

content: string | T

Optional data

data: any

Optional el

el: Element | HTMLElement

The element to render the component to.

Optional header

header: string

Optional href

href: string

Optional isPill

isPill: boolean

Optional onClick

onClick: (badge?: IBadgeProps, ev?: Event) => void

Type declaration

    • Parameters

      Returns void

Optional type

type: number

Generated using TypeDoc