UNPKG

@csegames/camelot-unchained

Version:

Camelot Unchained Client Library

19 lines (18 loc) 590 B
/// <reference types="react" /> import * as React from 'react'; import { StyleDeclaration } from 'aphrodite'; export interface InputStyle extends StyleDeclaration { inputWrapper: React.CSSProperties; input: React.CSSProperties; label: React.CSSProperties; } export declare const defaultInputStyle: InputStyle; export interface InputProps { styles?: Partial<InputStyle>; label?: string; inputRef?: (r: HTMLInputElement) => void; type: string; [id: string]: any; } export declare const Input: (props: Partial<InputProps>) => JSX.Element; export default Input;