@fluentui/react-northstar
Version:
A themable React component library.
17 lines (16 loc) • 679 B
TypeScript
import { BoxProps } from '../Box/Box';
export declare type LabelPosition = 'inline' | 'above' | 'inside';
interface InputLabelOwnProps {
labelPosition?: LabelPosition;
required?: boolean;
hasValue?: boolean;
}
export interface InputLabelProps extends BoxProps, InputLabelOwnProps {
}
export declare type InputLabelStylesProps = Required<Pick<InputLabelOwnProps, 'labelPosition' | 'required' | 'hasValue'>>;
export declare const inputLabelClassName = "ui-input__label";
/**
* An InputLabel provides a slot for label in the Input.
*/
export declare const InputLabel: import("@fluentui/react-bindings").ComponentWithAs<"label", InputLabelProps & BoxProps>;
export {};