hrw-certificate-editor
Version:
Design Editor Tools with React.js + ant.design + fabric.js
18 lines (17 loc) • 589 B
TypeScript
export default FileUpload;
declare class FileUpload extends React.Component<any, any, any> {
static propTypes: {
onChange: PropTypes.Requireable<(...args: any[]) => any>;
limit: PropTypes.Requireable<number>;
accept: PropTypes.Requireable<string>;
isBackgroundImage: PropTypes.Requireable<boolean>;
};
static defaultProps: {
limit: number;
isBackgroundImage: boolean;
};
constructor(props: any);
constructor(props: any, context: any);
}
import React from "react";
import PropTypes from "prop-types";