UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

14 lines (13 loc) 635 B
import { DrawerProps } from './Drawer'; export declare const DRAWER_POSITION: readonly ["start", "end"]; export type DrawerPosition = (typeof DRAWER_POSITION)[number]; type ValidationProps = Pick<DrawerProps, 'tabIndex'>; /** * Validates the given properties of the DSDrawer 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 DSDrawer properties to validate. */ export declare const validateDrawerProps: ({ tabIndex }: ValidationProps) => void; export {};