breakfast-ui
Version:
Your tasty component library
13 lines (12 loc) • 359 B
text/typescript
import Color from "../../../Colors.types";
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;
}