Badge Properties

Type Parameters

  • T = Element

Hierarchy

  • IBaseProps<IBadge>
    • IBadgeProps

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

className?: string

Custom class names.

content?: string | T
data?: any
el?: HTMLElement

The element to render the component to.

href?: string
isPill?: boolean
onClick?: ((badge?, ev?) => void)

Type declaration

    • (badge?, ev?): void
    • Parameters

      • Optional badge: IBadgeProps<Element>
      • Optional ev: Event

      Returns void

type?: number

Generated using TypeDoc