Sha256: 5232038593c240d872faf9417ff638bf4ea35566cd319c88277bb1ea77b56203

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

import React from 'react';
import { GlobalProps } from '../utilities/globalProps';
declare type BadgeProps = {
    aria?: {
        [key: string]: string;
    };
    className?: string;
    closeProps?: {
        onClick?: React.MouseEventHandler<HTMLSpanElement>;
        onMouseDown?: React.MouseEventHandler<HTMLSpanElement>;
        onTouchEnd?: React.TouchEventHandler<HTMLSpanElement>;
    };
    data?: {
        [key: string]: string;
    };
    id?: string;
    removeIcon?: boolean;
    removeOnClick?: React.MouseEventHandler<HTMLSpanElement>;
    rounded?: boolean;
    text?: string;
    variant?: "error" | "info" | "neutral" | "notification" | "primary" | "success" | "warning";
} & GlobalProps;
declare const Badge: (props: BadgeProps) => JSX.Element;
export default Badge;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 app/pb_kits/playbook/pb_badge/_badge.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_badge/_badge.d.ts