UNPKG

hrw-certificate-editor

Version:

Design Editor Tools with React.js + ant.design + fabric.js

51 lines (50 loc) 1.53 kB
export default IconChooser; declare class IconChooser extends React.Component<any, any, any> { static propTypes: { onChange: PropTypes.Requireable<(...args: any[]) => any>; icon: PropTypes.Requireable<any>; }; static defaultProps: { icon: { 'map-marker-alt': { changes: string[]; ligatures: any[]; search: { terms: string[]; }; styles: string[]; unicode: string; label: string; svg: { solid: { last_modified: number; raw: string; viewBox: string[]; width: number; height: number; path: string; }; }; }; }; }; constructor(props: any); constructor(props: any, context: any); handlers: { onOk: () => void; onCancel: () => void; onClick: () => void; onClickIcon: (icon: any) => void; onSearch: import("lodash").DebouncedFunc<(value: any) => void>; }; modalHandlers: { onShow: () => void; onHide: () => void; }; getPrefix: (style: any) => string; getIcons: (textSearch: any) => { [x: string]: any; }[]; } import React from "react"; import PropTypes from "prop-types";