UNPKG

fictoan-react

Version:

A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.

14 lines (13 loc) 687 B
import React from "react"; import { CommonAndHTMLProps, ShapeTypes, SpacingTypes } from '../Element/constants'; export interface BadgeCustomProps { size?: SpacingTypes; shape?: ShapeTypes; withDelete?: boolean; onDelete?: (event: React.MouseEvent<HTMLElement>) => void; label?: string; } export type BadgeElementType = HTMLDivElement; export type BadgeProps = Omit<CommonAndHTMLProps<BadgeElementType>, keyof BadgeCustomProps> & BadgeCustomProps; export declare const Badge: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLDivElement>, keyof BadgeCustomProps> & BadgeCustomProps & React.RefAttributes<HTMLDivElement>>; //# sourceMappingURL=Badge.d.ts.map