UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

40 lines (39 loc) 967 B
import React from 'react'; import { StandardProps } from '../../util/component-types'; export declare enum Kind { default = "default", primary = "primary", success = "success", danger = "danger", warning = "warning", info = "info", dark = "dark" } export declare enum Type { filled = "filled", stroke = "stroke" } export interface IBadgeProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> { kind: keyof typeof Kind; /** Fill variations for the `Badge` */ type: keyof typeof Type; } export declare const Badge: { (props: IBadgeProps): React.ReactElement; defaultProps: { kind: Kind; type: Type; }; displayName: string; peek: { description: string; categories: string[]; }; propTypes: { className: any; children: any; kind: any; type: any; }; }; export default Badge;