UNPKG

@wix/design-system

Version:

@wix/design-system

61 lines 2.29 kB
import React from 'react'; import PropTypes from 'prop-types'; import { InputProps, InputImperativeActions } from './Input.types'; export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputImperativeActions>>; declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputImperativeActions>> & { Ticker: { ({ onUp, onDown, upDisabled, downDisabled, onMouseDown, dataHook, }: { onUp?: React.MouseEventHandler<HTMLElement>; onDown?: React.MouseEventHandler<HTMLElement>; upDisabled?: boolean; downDisabled?: boolean; onMouseDown?: React.MouseEventHandler<HTMLElement>; dataHook?: string; }): React.JSX.Element; displayName: string; propTypes: { onUp: PropTypes.Requireable<(...args: any[]) => any>; onDown: PropTypes.Requireable<(...args: any[]) => any>; upDisabled: PropTypes.Requireable<boolean>; downDisabled: PropTypes.Requireable<boolean>; onMouseDown: PropTypes.Requireable<(...args: any[]) => any>; dataHook: PropTypes.Requireable<string>; }; }; IconAffix: { ({ children, dataHook, }: { children?: React.ReactNode; dataHook?: string; }): React.JSX.Element; displayName: string; propTypes: { children: PropTypes.Validator<PropTypes.ReactElementLike>; dataHook: PropTypes.Requireable<string>; }; }; Affix: { ({ children, value, }: { children?: React.ReactNode; value?: string; }): React.JSX.Element; displayName: string; propTypes: { children: PropTypes.Requireable<PropTypes.ReactNodeLike>; value: PropTypes.Requireable<string>; }; }; Group: { ({ children }: { children?: React.ReactNode; }): React.JSX.Element; displayName: string; propTypes: { children: PropTypes.Requireable<PropTypes.ReactNodeLike>; }; }; StatusError: "error"; StatusWarning: "warning"; StatusLoading: "loading"; }; export default _default; //# sourceMappingURL=Input.d.ts.map