breakfast-ui
Version:
Your tasty component library
14 lines (13 loc) • 423 B
TypeScript
/// <reference types="react" />
import Color from "../../../Colors.types";
declare type labelPosition = "start" | "end";
export default interface TextBoxSimpleProps extends React.HTMLAttributes<HTMLInputElement> {
label: string;
labelColor: Color;
activeColor?: Color;
errorMessage?: string;
showError?: boolean;
width?: number | string;
labelPosition?: labelPosition;
}
export {};