@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
26 lines • 937 B
TypeScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @prettier
*/
import { InputLabelProps as MuiInputLabelProps } from '@mui/material';
import { FC, ReactElement } from 'react';
/**
* These are the options available for an Input Label
*/
export interface InputLabelProps extends MuiInputLabelProps {
/**
* Add a tooltip to the label for some additional context information
*/
helpText?: string | ReactElement;
/**
* The placement of the tool tip text. The default is right
*/
helpPlacement?: 'bottom' | 'left' | 'right' | 'top' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start';
}
export declare const InputLabel: FC<InputLabelProps>;
export default InputLabel;
//# sourceMappingURL=index.d.ts.map