desmy-react
Version:
Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.
27 lines (26 loc) • 691 B
TypeScript
import { Component } from 'react';
interface CreateProps {
filter?: any;
content?: any[];
onClose: () => void;
onSuccess?: (data: any) => void;
}
interface CreateState {
hasRequest: boolean;
isLoading: boolean;
input: {
[key: string]: any;
};
filters: {
[key: string]: Array<any>;
};
}
declare class DesmyFilter extends Component<CreateProps, CreateState> {
constructor(props: CreateProps);
componentDidMount(): void;
fetchFilters: () => Promise<void>;
handleError: (message: string) => void;
handleOnSubmit: () => Promise<void>;
render(): import("react/jsx-runtime").JSX.Element;
}
export default DesmyFilter;