UNPKG

@plone/volto

Version:
50 lines (49 loc) 1.4 kB
export default EmailWidget; /** EmailWidget, a widget for email addresses * * To use it, in schema properties, declare a field like: * * ```jsx * { * title: "Email", * widget: 'email', * } * ``` */ declare function EmailWidget(props: any): import("react/jsx-runtime").JSX.Element; declare namespace EmailWidget { namespace propTypes { let id: any; let title: any; let description: any; let required: any; let error: any; let value: any; let onChange: any; let onBlur: any; let onClick: any; let minLength: any; let maxLength: any; let placeholder: any; } namespace defaultProps { let description_1: any; export { description_1 as description }; let required_1: boolean; export { required_1 as required }; let error_1: any[]; export { error_1 as error }; let value_1: any; export { value_1 as value }; export function onChange_1(): void; export { onChange_1 as onChange }; export function onBlur_1(): void; export { onBlur_1 as onBlur }; export function onClick_1(): void; export { onClick_1 as onClick }; let minLength_1: any; export { minLength_1 as minLength }; let maxLength_1: any; export { maxLength_1 as maxLength }; } }