katoikia-app/web-ui/web-react/node_modules/primereact/chip/chip.d.ts

19 lines
526 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
import {IconType, TemplateType} from "../utils";
export interface ChipProps {
label?: string;
icon?: IconType<ChipProps>;
image?: string;
removable?: boolean;
removeIcon?: string;
className?: string;
style?: object;
template?: TemplateType<ChipProps>;
imageAlt?: string;
onImageError?(event: React.SyntheticEvent): void;
onRemove?(event: React.MouseEvent<HTMLElement>): void;
}
export declare class Chip extends React.Component<ChipProps, any> { }