@itwin/core-react
Version:
A react component library of iTwin.js UI general purpose components
36 lines • 1.29 kB
TypeScript
/** @packageDocumentation
* @module Inputs
*/
import type * as React from "react";
import type { InputStatus } from "./InputStatus.js";
/** Properties for labeled components
* @public
* @deprecated in 4.12.0. Props of deprecated component {@link InputLabel}.
*/
export interface LabeledComponentProps {
/** Text that will be shown next to or above the input. */
label?: string;
/** Input status like: "Success", "Warning" or "Error" */
status?: InputStatus;
/** Custom CSS class name for the checkbox input element */
inputClassName?: string;
/** Custom CSS Style for the checkbox input element */
inputStyle?: React.CSSProperties;
/** Custom CSS class name for the label */
labelClassName?: string;
/** Custom CSS Style for the label */
labelStyle?: React.CSSProperties;
}
/** Properties for components with messages
* @public
* @deprecated in 4.12.0. Props of deprecated component {@link InputLabel}.
*/
export interface MessagedComponentProps {
/** Optional text shown below the input. */
message?: string;
/** Custom CSS class name for the message */
messageClassName?: string;
/** Custom CSS Style for the message */
messageStyle?: React.CSSProperties;
}
//# sourceMappingURL=LabeledComponentProps.d.ts.map