@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
32 lines (31 loc) • 819 B
TypeScript
import type { FC } from 'react';
import type { InputBaseState, InputBaseWheelEventDetail } from '@porsche-design-system/components/dist/utils';
type InputBaseProps = {
children?: JSX.Element;
host: HTMLElement;
id: string;
label?: string;
description?: string;
required?: boolean;
disabled?: boolean;
state?: InputBaseState;
message?: string;
theme?: any;
readOnly?: boolean;
name: string;
form?: string;
placeholder?: string;
maxLength?: number;
minLength?: number;
max?: number;
min?: number;
autoComplete?: string;
type: string;
value?: string;
step?: number;
onWheel?: (e: InputBaseWheelEventDetail) => void;
start?: JSX.Element;
end?: JSX.Element;
};
export declare const InputBase: FC<InputBaseProps>;
export {};