UNPKG

@denali-design/react

Version:

React.JS component library for the Denali CSS Framework

47 lines 1.36 kB
/** * Copyright 2020, Verizon Media * Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms. */ import React from 'react'; export declare const DnInput: { ({ className, size, isActive, isDisabled, isError, type, isInverse, errorMessage, placeholderText, frontIconComponent, backIconComponent, id, ...rest }: DnInputProps): JSX.Element; defaultProps: { size: DnInputSizes; isActive: boolean; isDisabled: boolean; isError: boolean; type: DnInputTypes; isInverse: boolean; errorMessage: undefined; placeholderText: undefined; frontIconComponent: null; backIconComponent: null; id: undefined; }; }; export declare enum DnInputSizes { small = "small", medium = "medium", default = "default" } export declare enum DnInputTypes { text = "text", email = "email", number = "number", password = "password" } export interface DnInputProps { className?: string; size?: DnInputSizes; isActive?: boolean; isDisabled?: boolean; isError?: boolean; type?: DnInputTypes; isInverse?: boolean; errorMessage?: string; placeholderText?: string; frontIconComponent?: React.ReactNode; backIconComponent?: React.ReactNode; id?: string; } //# sourceMappingURL=DnInput.d.ts.map