solive-core
Version:
Solidity Monaco Editor Core Library
17 lines • 578 B
TypeScript
import React from "react";
interface IProps {
name: string;
label: string;
onChange?: (value: string, option: any) => void;
errorMessage?: string;
warningMessage?: string;
options: {
label: string;
value: string;
}[];
widget?: React.ReactNode;
}
type Props = IProps & React.HTMLAttributes<HTMLDivElement>;
declare const RHFSelect: ({ name, label, children, onChange, options, errorMessage, warningMessage, widget, ...other }: Props) => JSX.Element;
export default RHFSelect;
//# sourceMappingURL=RHFSelect.d.ts.map