@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
12 lines (11 loc) • 507 B
TypeScript
import { DialogProps } from './Dialog';
type ValidationProps = Pick<DialogProps, 'tabIndex'>;
/**
* Validates the given properties of the DSDialog 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 DSDialog properties to validate.
*/
export declare const validateDialogProps: ({ tabIndex }: ValidationProps) => void;
export {};