UNPKG

woi-react-components

Version:

This project requires NodeJS (version 18 or later) and NPM. [Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install. To make sure you have them available on your machine, try running the following command. ```sh $ npm -v &

47 lines (46 loc) 1.84 kB
export declare const SuccessIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path d=\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\" fill=\"#00B87C\" />\n </svg>"; export declare const ErrorIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path d=\"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z\" fill=\"#ff3333\" />\n </svg>"; export interface TextFieldProps { label?: string; labelFontSize?: number; labelFontWeight?: string; labelFontFamily?: string; labelFontDecoration?: string; labelColor?: string; placeholder?: string; placeholderFontSize?: number; placeholderFontWeight?: string; placeholderFontFamily?: string; placeholderFontDecoration?: string; placeholderColor?: string; type?: string; fontSize?: number; fontWeight?: string; fontFamily?: string; fontDecoration?: string; color?: string; multline?: number; leftIcon?: string; leftIconSize?: number; leftIconColor?: string; rightIcon?: string; rightIconSize?: number; rightIconColor?: string; backgroundColor?: string; backgroundOpacity?: string; borderColor?: string; borderWidth?: number; borderRadius?: number; borderType?: string; boxShadow?: string; supportingText?: string; supportingTextFontSize?: number; supportingTextFontWeight?: string; supportingTextFontFamily?: string; supportingTextFontDecoration?: string; supportingTextColor?: string; onComplete?: () => void; isDisabled?: boolean; } declare const WOITextField: (props: TextFieldProps) => import("react/jsx-runtime").JSX.Element; export default WOITextField;