@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
13 lines (12 loc) • 709 B
TypeScript
import { InputStepperProps } from './InputStepper';
type ValidationProps = Pick<InputStepperProps, 'id' | 'label' | 'prefix' | 'suffix'>;
/**
* Validates the given properties of the DSInputStepper 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 DSInputStepper properties to validate. This includes
* properties related to the prefix, suffix, icons and action button of the input.
*/
export declare const validateInputStepperProps: ({ id, label, prefix, suffix, }: ValidationProps) => void;
export {};