@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
13 lines (12 loc) • 671 B
TypeScript
import { InputPasswordProps } from './InputPassword';
type ValidationProps = Pick<InputPasswordProps, 'id' | 'label' | 'hideLabel' | 'popoverContent'>;
/**
* Validates the given properties of the DSInputPassword component for common configuration errors.
* This function is intended to be used in development mode to provide developers with
* warnings about potential misuse of the component.
*
* @param validationProps - The subset of DSInputPassword properties to validate. This includes
* id and label.
*/
export declare const validateInputPasswordProps: ({ id, label, hideLabel, popoverContent, }: ValidationProps) => void;
export {};